rust/src/libstd/sys/unix
Alex Crichton f3a7ec7028 std: Second pass stabilization of sync
This pass performs a second pass of stabilization through the `std::sync`
module, avoiding modules/types that are being handled in other PRs (e.g.
mutexes, rwlocks, condvars, and channels).

The following items are now stable

* `sync::atomic`
* `sync::atomic::ATOMIC_BOOL_INIT` (was `INIT_ATOMIC_BOOL`)
* `sync::atomic::ATOMIC_INT_INIT` (was `INIT_ATOMIC_INT`)
* `sync::atomic::ATOMIC_UINT_INIT` (was `INIT_ATOMIC_UINT`)
* `sync::Once`
* `sync::ONCE_INIT`
* `sync::Once::call_once` (was `doit`)
  * C == `pthread_once(..)`
  * Boost == `call_once(..)`
  * Windows == `InitOnceExecuteOnce`
* `sync::Barrier`
* `sync::Barrier::new`
* `sync::Barrier::wait` (now returns a `bool`)
* `sync::Semaphore::new`
* `sync::Semaphore::acquire`
* `sync::Semaphore::release`

The following items remain unstable

* `sync::SemaphoreGuard`
* `sync::Semaphore::access` - it's unclear how this relates to the poisoning
                              story of mutexes.
* `sync::TaskPool` - the semantics of a failing task and whether a thread is
                     re-attached to a thread pool are somewhat unclear, and the
                     utility of this type in `sync` is question with respect to
                     the jobs of other primitives. This type will likely become
                     stable or move out of the standard library over time.
* `sync::Future` - futures as-is have yet to be deeply re-evaluated with the
                   recent core changes to Rust's synchronization story, and will
                   likely become stable in the future but are unstable until
                   that time comes.

[breaking-change]
2015-01-01 22:02:59 -08:00
..
backtrace.rs Fallout - change array syntax to use ; 2015-01-02 10:28:19 +13:00
c.rs More fallout 2015-01-02 10:28:19 +13:00
condvar.rs std: Rewrite the sync module 2014-12-05 00:53:22 -08:00
ext.rs libs: add std::os::unix module 2014-11-21 10:17:13 -08:00
fs.rs Fallout - change array syntax to use ; 2015-01-02 10:28:19 +13:00
helper_signal.rs Fix fallout from coercion removal 2014-11-17 22:41:33 +13:00
mod.rs Revert "std: Re-enable at_exit()" 2014-12-31 10:20:31 -08:00
mutex.rs Revert "std: Re-enable at_exit()" 2014-12-31 10:20:31 -08:00
os.rs std: Second pass stabilization of sync 2015-01-01 22:02:59 -08:00
pipe.rs std: Second pass stabilization of sync 2015-01-01 22:02:59 -08:00
process.rs Fallout - change array syntax to use ; 2015-01-02 10:28:19 +13:00
rwlock.rs Revert "std: Re-enable at_exit()" 2014-12-31 10:20:31 -08:00
stack_overflow.rs Fallout - change array syntax to use ; 2015-01-02 10:28:19 +13:00
sync.rs More fallout 2015-01-02 10:28:19 +13:00
tcp.rs Revert "std: Re-enable at_exit()" 2014-12-31 10:20:31 -08:00
thread_local.rs std: Add a new top-level thread_local module 2014-11-23 23:37:16 -08:00
thread.rs Revise std::thread API to join by default 2014-12-18 23:31:52 -08:00
timer.rs std: Second pass stabilization of sync 2015-01-01 22:02:59 -08:00
tty.rs Revert "std: Re-enable at_exit()" 2014-12-31 10:20:31 -08:00
udp.rs Runtime removal: refactor pipes and networking 2014-11-08 20:40:38 -08:00