diff options
| author | bors <bors@rust-lang.org> | 2013-10-29 21:26:20 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-10-29 21:26:20 -0700 |
| commit | e42e378f32e212997fc42281112b1c9c4c247de0 (patch) | |
| tree | 6e28ca8700d152980e741243202fc1f65bbbddf8 /src/rt/sync/rust_thread.cpp | |
| parent | cd1661df297dabcc1a148234ab80c936d7c7fcfa (diff) | |
| parent | fce9d7fc37650a5138be180e955a25a7f29409bd (diff) | |
| download | rust-e42e378f32e212997fc42281112b1c9c4c247de0.tar.gz rust-e42e378f32e212997fc42281112b1c9c4c247de0.zip | |
auto merge of #10163 : brson/rust/rtcxx, r=alexcrichton
Diffstat (limited to 'src/rt/sync/rust_thread.cpp')
| -rw-r--r-- | src/rt/sync/rust_thread.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/rt/sync/rust_thread.cpp b/src/rt/sync/rust_thread.cpp index a78153523d2..7223d187137 100644 --- a/src/rt/sync/rust_thread.cpp +++ b/src/rt/sync/rust_thread.cpp @@ -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 -} |
