compat/os2threads: Improve pthread_cond_xxx() functions
authorKO Myung-Hun <komh78@gmail.com>
Sun, 14 Feb 2016 15:20:33 +0000 (00:20 +0900)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 14 Feb 2016 18:17:36 +0000 (19:17 +0100)
commit22a4046d66f7f60eb771c5fe7d2a9b42989d420c
treecc368985d29dca4c8af0db29da5512031b03331a
parentb65ea6ab449012b45fdfe0c006217e8bc5c59a94
compat/os2threads: Improve pthread_cond_xxx() functions

1. Manipulate waiting count in pthread_cond_wait()
2. Use builtin atomic functions to manipulate waiting count

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
compat/os2threads.h