diff options
| author | bors <bors@rust-lang.org> | 2015-04-22 18:48:31 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-04-22 18:48:31 +0000 |
| commit | 5c9636975cdc289e98ef8f33400969371c4ce1bf (patch) | |
| tree | 28e75d58061a77b9a1d6c6f3c0853473c52169c5 /src/libsyntax/parse | |
| parent | 3dbfa74305e6cc347ffdd902a680bb3b9ee2470a (diff) | |
| parent | 2e1100997863c4951371cf39554c53266cacb37d (diff) | |
| download | rust-5c9636975cdc289e98ef8f33400969371c4ce1bf.tar.gz rust-5c9636975cdc289e98ef8f33400969371c4ce1bf.zip | |
Auto merge of #24447 - alexcrichton:audit-thread, r=aturon
Much of this code hasn't been updated in quite some time and this commit does a small audit of the functionality: * Implementation functions now centralize all functionality on a locally defined `Thread` type. * The `detach` method has been removed in favor of a `Drop` implementation. This notably fixes leaking thread handles on Windows. * The `Thread` structure is now appropriately annotated with `Send` and `Sync` automatically on Windows and in a custom fashion on Unix. * The unsafety of creating a thread has been pushed out to the right boundaries now. Closes #24442
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions
