rust/library/std/src/sys
Tomasz Miąsko 21c29b1e95 Check that pthread mutex initialization succeeded
If pthread mutex initialization fails, the failure will go unnoticed unless
debug assertions are enabled. Any subsequent use of mutex will also silently
fail, since return values from lock & unlock operations are similarly checked
only through debug assertions.

In some implementations the mutex initialization requires a memory
allocation and so it does fail in practice.

Check that initialization succeeds to ensure that mutex guarantees
mutual exclusion.
2020-10-20 00:00:00 +00:00
..
cloudabi Formatting. 2020-10-07 18:20:56 +02:00
hermit Make it possible to have unboxed condvars on specific platforms. 2020-10-02 09:47:08 +02:00
sgx Remove redundant 'static from library crates 2020-10-18 17:25:51 +02:00
unix Check that pthread mutex initialization succeeded 2020-10-20 00:00:00 +00:00
unsupported Rollup merge of #77722 - fusion-engineering-forks:safe-unsupported-locks, r=Mark-Simulacrum 2020-10-14 06:02:21 +09:00
vxworks Take some of sys/vxworks/process/* from sys/unix instead. 2020-10-16 06:22:05 +02:00
wasi Rollup merge of #77722 - fusion-engineering-forks:safe-unsupported-locks, r=Mark-Simulacrum 2020-10-14 06:02:21 +09:00
wasm Rollup merge of #77619 - fusion-engineering-forks:wasm-parker, r=dtolnay 2020-10-16 02:10:11 +02:00
windows Auto merge of #77727 - thomcc:mach-info-order, r=Amanieu 2020-10-11 14:06:04 +00:00
mod.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00