summaryrefslogtreecommitdiff
path: root/src/unix/pthread.h
Commit message (Collapse)AuthorAgeFilesLines
* consistent header guardsethomson/header_guardsEdward Thomson2018-02-011-1/+1
| | | | use consistent names for the #include / #define header guard pattern.
* threads: introduce `git_thread_exit`Edward Thomson2016-11-181-0/+2
| | | | | | | | | | Introduce `git_thread_exit`, which will allow threads to terminate at an arbitrary time, returning a `void *`. On Windows, this means that we need to store the current `git_thread` in TLS, so that we can set its `return` value when terminating. We cannot simply use `ExitThread`, since Win32 returns `DWORD`s from threads; we return `void *`.
* threads: add platform-independent thread initialization functionPatrick Steinhardt2016-06-201-0/+1
|
* threads: split up OS-dependent rwlock codePatrick Steinhardt2016-06-201-0/+18
|
* threads: split up OS-dependent thread-condition codePatrick Steinhardt2016-06-201-0/+8
|
* threads: split up OS-dependent mutex codePatrick Steinhardt2016-06-201-0/+7
|
* threads: split up OS-dependent thread codePatrick Steinhardt2016-06-201-0/+20