Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | threads: introduce `git_thread_exit` | Edward Thomson | 2016-11-18 | 1 | -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 function | Patrick Steinhardt | 2016-06-20 | 1 | -2/+2 |
| | |||||
* | win32: rename pthread.{c,h} to thread.{c,h} | Patrick Steinhardt | 2016-06-20 | 1 | -0/+62 |
The old pthread-file did re-implement the pthreads API with exact symbol matching. As the thread-abstraction has now been split up between Unix- and Windows-specific files within the `git_` namespace to avoid symbol-clashes between libgit2 and pthreads, the rewritten wrappers have nothing to do with pthreads anymore. Rename the Windows-specific pthread-files to honor this change. |