We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cd1661d + fce9d7f commit e42e378Copy full SHA for e42e378
src/rt/sync/rust_thread.cpp
@@ -63,12 +63,3 @@ rust_thread::join() {
63
#endif
64
thread = 0;
65
}
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
@@ -33,7 +33,6 @@ class rust_thread {
33
virtual void run() = 0;
34
35
void join();
36
- void detach();
37
};
38
39
#endif /* RUST_THREAD_H */
src/rt/util/array_list.h
0 commit comments