| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | pthread_once() returns an error code on failure | Theo Buehler | 2023-12-19 | 1 | -1/+1 |
| | | |||||
| * | pthreads.h: avoid undefined behavior | Theo Buehler | 2023-12-12 | 1 | -3/+8 |
| | | | | | | | | You can't pass a function pointer through a void pointer. So wrap the pthread callback in a struct. Fixes #966 | ||||
| * | windows: minor compat header fixes | Viktor Szakats | 2023-12-11 | 1 | -0/+0 |
| | | | | | | | - posix_win.c: use `snprintf` as-is with _MSC_VER >= 1900 - stdio.h: include socket header before windows.h - pthread.h: delete exec permission from source file | ||||
| * | fix leak in Windows version of pthread_mutex_free | Brent Cook | 2021-02-28 | 1 | -0/+1 |
| | | | | | | Free the lock pointer in addition to the critical section. Thanks to martinkucera74 on github. | ||||
| * | add win32 pthread_mutex_destroy implementation | Brent Cook | 2020-12-21 | 1 | -0/+7 |
| | | |||||
| * | Make pthread_mutex static initialisation work on Windows. | Joel Sing | 2020-09-20 | 1 | -5/+23 |
| | | | | | | | | | | 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). | ||||
| * | Add PTHREAD_MUTEX_INITIALIZER | kinichiro | 2020-09-13 | 1 | -0/+5 |
| | | |||||
| * | add pthread_mutex* windows compat for libtls | Brent Cook | 2019-04-11 | 1 | -0/+29 |
| | | |||||
| * | change windows compatibility stubs for pthread_t to be more like other OSes | Brent Cook | 2018-11-11 | 1 | -8/+3 |
| | | |||||
| * | add pthread_self/pthread_equal for win32 | Brent Cook | 2018-03-18 | 1 | -3/+23 |
| | | |||||
| * | syntax updates | Brent Cook | 2018-03-14 | 1 | -4/+3 |
| | | |||||
| * | prefer including windows.h over the internal header | Brent Cook | 2018-03-14 | 1 | -1/+1 |
| | | |||||
| * | add pthread_once(3) implementation for Windows | Brent Cook | 2018-03-14 | 1 | -0/+43 |
