1
0
mirror of https://git.tukaani.org/xz.git synced 2025-03-12 11:30:53 +00:00
Lasse Collin 9f0a806aef 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.
2011-04-10 21:23:21 +03:00
..
2011-04-10 21:23:21 +03:00
2009-09-19 09:47:30 +03:00
2009-09-19 09:47:30 +03:00
2009-09-19 09:47:30 +03:00
2010-09-10 10:30:33 +03:00
2010-09-10 10:30:33 +03:00
2010-09-10 10:30:33 +03:00
2009-09-19 09:47:30 +03:00
2009-09-19 09:47:30 +03:00