aboutsummaryrefslogtreecommitdiff
path: root/src/util/thread.h
AgeCommit message (Collapse)Author
2015-10-14Rename macros with two leading underscoresShadowNinja
These names are reserved for the compiler/library implementations.
2015-10-14Always use errorstream for DEBUG_EXCEPTION_HANDLERShadowNinja
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-07-10Misc. minor fixeskwolekr
2015-06-29Add UpdateThread and use it for minimap and mesh threadsest31
2015-03-17MutexedQueue inherits must use std::deque instead of std::listLoic Blot
2014-01-10Make MutexQueue use jsemaphore for signalingsapier
2013-12-15Replace SimpleThread by JThread now implementing same featuressapier
2013-12-01Cleanup jthread and fix win32 buildsapier
2013-11-17Add missing RequestQueue docsapier
2013-11-17Fix multicaller support in RequestQueuesapier
2013-09-15Always use builtin JThread librarykwolekr
2013-03-11Migrate to STL containers/algorithms.Ilya Zhuravlev
2013-02-24Update Copyright YearsSfan5
2013-02-24Change Minetest-c55 to MinetestPilzAdam
2012-06-17Initially split utility.h to multiple files in util/Perttu Ahola