Skip to content

Commit e42e378

Browse files
committed
auto merge of #10163 : brson/rust/rtcxx, r=alexcrichton
2 parents cd1661d + fce9d7f commit e42e378

File tree

3 files changed

+0
-159
lines changed

3 files changed

+0
-159
lines changed

src/rt/sync/rust_thread.cpp

-9
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,3 @@ rust_thread::join() {
6363
#endif
6464
thread = 0;
6565
}
66-
67-
void
68-
rust_thread::detach() {
69-
#if !defined(__WIN32__)
70-
// Don't leak pthread resources.
71-
// http://crosstantine.blogspot.com/2010/01/pthreadcreate-memory-leak.html
72-
CHECKED(pthread_detach(thread));
73-
#endif
74-
}

src/rt/sync/rust_thread.h

-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ class rust_thread {
3333
virtual void run() = 0;
3434

3535
void join();
36-
void detach();
3736
};
3837

3938
#endif /* RUST_THREAD_H */

src/rt/util/array_list.h

-149
This file was deleted.

0 commit comments

Comments
 (0)