include/compat/pthread.h


Log

Author Commit Date CI Message
Brent Cook 90f1c4db 2021-02-28T10:04:51 fix leak in Windows version of pthread_mutex_free Free the lock pointer in addition to the critical section. Thanks to martinkucera74 on github.
Brent Cook 527482b5 2020-12-21T09:39:12 add win32 pthread_mutex_destroy implementation
Joel Sing 17c88164 2020-09-20T02:09:35 Make pthread_mutex static initialisation work on Windows. This takes the dynamic initialisation code added to CRYPTO_lock() in e5081719 and applies it to the Window's pthread_mutex implementation. This allows for PTHREAD_MUTEX_INITIALIZER to be used on Windows. bcook has agreed to place this code in the public domain (as per the rest of the code in pthread.h).
kinichiro 65b01cff 2020-09-13T12:55:02 Add PTHREAD_MUTEX_INITIALIZER
Brent Cook a67ba9f4 2019-04-11T07:28:49 add pthread_mutex* windows compat for libtls
Brent Cook 387d2ae2 2018-11-11T11:00:00 change windows compatibility stubs for pthread_t to be more like other OSes
Brent Cook 0e46c1e8 2018-03-18T10:36:51 add pthread_self/pthread_equal for win32
Brent Cook 4799f0d9 2018-03-14T12:58:48 syntax updates
Brent Cook cfdaa118 2018-03-14T12:56:26 prefer including windows.h over the internal header
Brent Cook d5608b38 2018-03-14T07:30:55 add pthread_once(3) implementation for Windows