aboutsummaryrefslogtreecommitdiff
path: root/src/util/thread.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix various copy instead of const ref reported by cppcheck (part 3) (#5616)Loïc Blot2017-04-201-10/+4
| | | | * Also remove 2 non declared but defined functions * Make some functions around const ref changes const
* Include container.h in util/thread.h. util/thread.h doesn't compile without itPerttu Ahola2017-04-171-0/+1
|
* Rename macros with two leading underscoresShadowNinja2015-10-141-1/+1
| | | | These names are reserved for the compiler/library implementations.
* Always use errorstream for DEBUG_EXCEPTION_HANDLERShadowNinja2015-10-141-1/+1
|
* Clean up threadingShadowNinja2015-08-231-36/+24
| | | | | | | | | | | | | | | | | | | | * 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.
* Misc. minor fixeskwolekr2015-07-101-80/+58
|
* Add UpdateThread and use it for minimap and mesh threadsest312015-06-291-0/+61
|
* MutexedQueue inherits must use std::deque instead of std::listLoic Blot2015-03-171-3/+3
|
* Make MutexQueue use jsemaphore for signalingsapier2014-01-101-27/+35
|
* Replace SimpleThread by JThread now implementing same featuressapier2013-12-151-44/+0
|
* Cleanup jthread and fix win32 buildsapier2013-12-011-2/+0
|
* Add missing RequestQueue docsapier2013-11-171-0/+7
|
* Fix multicaller support in RequestQueuesapier2013-11-171-23/+39
|
* Always use builtin JThread librarykwolekr2013-09-151-3/+3
|
* Migrate to STL containers/algorithms.Ilya Zhuravlev2013-03-111-8/+8
|
* Update Copyright YearsSfan52013-02-241-1/+1
|
* Change Minetest-c55 to MinetestPilzAdam2013-02-241-1/+1
|
* Initially split utility.h to multiple files in util/Perttu Ahola2012-06-171-0/+227