Skip to content

Remove a little more C++ #10163

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 30, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions src/rt/sync/rust_thread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,3 @@ rust_thread::join() {
#endif
thread = 0;
}

void
rust_thread::detach() {
#if !defined(__WIN32__)
// Don't leak pthread resources.
// http://crosstantine.blogspot.com/2010/01/pthreadcreate-memory-leak.html
CHECKED(pthread_detach(thread));
#endif
}
1 change: 0 additions & 1 deletion src/rt/sync/rust_thread.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ class rust_thread {
virtual void run() = 0;

void join();
void detach();
};

#endif /* RUST_THREAD_H */
149 changes: 0 additions & 149 deletions src/rt/util/array_list.h

This file was deleted.