xz-analysis-mirror/src/common
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
..
common_w32res.rc Windows: Update common_w32res.rc. 2010-10-09 12:52:12 +03:00
mythread.h Revise mythread.h. 2011-04-10 21:23:21 +03:00
sysdefs.h Add alloc_size and malloc attributes to a few functions. 2011-01-18 21:23:50 +02:00
tuklib_common.h Avoid non-standard preprocessor construct. 2009-09-22 13:40:19 +03:00
tuklib_config.h Use a tuklib module for integer handling. 2009-10-04 22:57:12 +03:00
tuklib_cpucores.c Updates to tuklib_physmem and tuklib_cpucores. 2010-05-10 19:54:15 +03:00
tuklib_cpucores.h Various changes. 2009-09-19 09:47:30 +03:00
tuklib_exit.c Various changes. 2009-09-19 09:47:30 +03:00
tuklib_exit.h Various changes. 2009-09-19 09:47:30 +03:00
tuklib_gettext.h Fix use of N_() and ngettext(). 2010-09-07 10:42:13 +03:00
tuklib_integer.h Update tuklib_integer.h with bit scan functions. 2009-11-22 11:52:30 +02:00
tuklib_mbstr.h xz: Multiple fixes. 2010-09-10 10:30:33 +03:00
tuklib_mbstr_fw.c xz: Multiple fixes. 2010-09-10 10:30:33 +03:00
tuklib_mbstr_width.c xz: Multiple fixes. 2010-09-10 10:30:33 +03:00
tuklib_open_stdxxx.c Silence two compiler warnings on DOS-like systems. 2010-01-27 16:42:11 +02:00
tuklib_open_stdxxx.h Various changes. 2009-09-19 09:47:30 +03:00
tuklib_physmem.c Updates to tuklib_physmem and tuklib_cpucores. 2010-05-10 19:54:15 +03:00
tuklib_physmem.h Various changes. 2009-09-19 09:47:30 +03:00
tuklib_progname.c Collection of language fixes to comments and docs. 2010-02-12 13:16:15 +02:00
tuklib_progname.h Collection of language fixes to comments and docs. 2010-02-12 13:16:15 +02:00