libgit2/tests/threads
Edward Thomson 82f15896de threads: introduce git_thread_exit
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 *`.
2016-11-18 07:34:09 -05:00
..
basic.c threads: introduce git_thread_exit 2016-11-18 07:34:09 -05:00
diff.c Move yield to the tests and enable for FreeBSD 2014-07-03 05:55:02 +02:00
iterator.c iterator: use an options struct instead of args 2015-08-28 18:39:47 -04:00
refdb.c refdb: use a constant for the number of per-thread creations/deletes 2016-11-14 11:35:38 +01:00
thread_helpers.c threads: split up OS-dependent thread code 2016-06-20 19:32:59 +02:00
thread_helpers.h Attribute file cache refactor 2014-04-17 14:56:41 -07:00