aboutsummaryrefslogtreecommitdiff
path: root/src/jthread/jsemaphore.h
Commit message (Collapse)AuthorAge
* Clean up threadingShadowNinja2015-08-23
| | | | | | | | | | | | | | | | | | | | * Rename everything. * Strip J prefix. * Change UpperCamelCase functions to lowerCamelCase. * Remove global (!) semaphore count mutex on OSX. * Remove semaphore count getter (unused, unsafe, depended on internal API functions on Windows, and used a hack on OSX). * Add `Atomic<type>`. * Make `Thread` handle thread names. * Add support for C++11 multi-threading. * Combine pthread and win32 sources. * Remove `ThreadStarted` (unused, unneeded). * Move some includes from the headers to the sources. * Move all of `Event` into its header (allows inlining with no new includes). * Make `Event` use `Semaphore` (except on Windows). * Move some porting functions into `Thread`. * Integrate logging with `Thread`. * Add threading test.
* Fix FTBFS on GNU/Hurd platformMarkus Koschany2015-02-11
| | | | | Minetest fails to build on GNU/Hurd due to a name clash with OSX/Apple, both are defining the __MACH__ keyword. This commit fixes the issue.
* Fix warnings reported by clangsfan52014-07-06
|
* OS X compatibility fixesMartin Doege2014-06-29
|
* Fix building under MSVCBlockMen2014-01-14
|
* Make MutexQueue use jsemaphore for signalingsapier2014-01-10
|
* Fix modstore/favourites hang by adding asynchronous lua job supportsapier2013-11-29