diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2017-08-03 19:08:31 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2017-08-03 19:08:31 +0200 |
commit | 68217c3178dc897a6fce97ff99c3c3b07e638c65 (patch) | |
tree | 03a694429b631ad7bf68defadf81cf77ad259beb /newlib/libc/unix/sigset.c | |
parent | a346a26790d005f68c21e0b6fffcbf81ea2181da (diff) | |
download | cygnal-68217c3178dc897a6fce97ff99c3c3b07e638c65.tar.gz cygnal-68217c3178dc897a6fce97ff99c3c3b07e638c65.tar.bz2 cygnal-68217c3178dc897a6fce97ff99c3c3b07e638c65.zip |
cygwin: simplify pthread timedwait handling
- Introduce inline helper pthread_convert_abstime. It converts
an absolute timespec to a Windows LARGE_INTEGER timestamp,
depending on the used clock.
- Use this function from pthread_cond_timedwait and semaphore::timedwait
- Merge semaphore::_wait and semaphore::_timedwait into single _wait
method, taking a LARGER_INTEGER timestamp.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/unix/sigset.c')
0 files changed, 0 insertions, 0 deletions