aboutsummaryrefslogtreecommitdiff
path: root/src/jthread/pthread/jsemaphore.cpp
AgeCommit message (Collapse)Author
2015-08-23Clean up threadingShadowNinja
* 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.
2015-02-11Fix FTBFS on GNU/Hurd platformMarkus Koschany
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.
2014-12-15Fixes #1687 by extra semaphore retval handle code for OSXPavel Puchkin
See https://github.com/minetest/minetest/issues/1687#issuecomment-56830173 Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-06-29Add support for Android 2.3+sapier
There have been plenty of ppl involved in creating this version. I don't wanna mention names as I'm sure I'd forget someone so I just tell where help has been done: - The partial android versions done by various ppl - Testing on different android devices - reviewing code (especially the in core changes) - testing controls - reviewing texts A big thank you to everyone helping this to be completed!
2014-06-29OS X compatibility fixesMartin Doege
2014-01-10Make MutexQueue use jsemaphore for signalingsapier
2013-12-03Fix broken async locking in release buildsapier
2013-12-01Cleanup jthread and fix win32 buildsapier
2013-11-29Fix modstore/favourites hang by adding asynchronous lua job supportsapier