diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2011-04-10 21:23:21 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2011-04-10 21:23:21 +0300 |
commit | 9f0a806aef7ea79718e3f1f2baf3564295229a27 (patch) | |
tree | 7d06008086bddd7a6c99a5c085e5ce5da44d87fa /tests | |
parent | liblzma: Make lzma_stream_encoder_init() static. (diff) | |
download | xz-9f0a806aef7ea79718e3f1f2baf3564295229a27.tar.xz |
Revise mythread.h.
This adds:
- mythread_sync() macro to create synchronized blocks
- mythread_cond structure and related functions
and macros for condition variables with timed
waiting using a relative timeout
- mythread_create() to create a thread with all
signals blocked
Some of these wouldn't need to be inline functions,
but I'll keep them this way for now for simplicity.
For timed waiting on a condition variable, librt is
now required on some systems to use clock_gettime().
configure.ac was updated to handle this.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions