aboutsummaryrefslogtreecommitdiff
path: root/src/jthread
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-03-27Clean up and tweak build systemShadowNinja
* Combine client and server man pages. * Update unit test options and available databases in man page. * Add `--worldname` to man page. * Fix a bunch of places where `"Minetest"` was used directly instead of `PROJECT_NAME`. * Disable server build by default on all operating systems. * Make `ENABLE_FREETYPE` not fail if FreeType isn't found. * Enable LevelDB, Redis, and FreeType detection by default. * Remove the `VERSION_PATCH_ORIG` hack. * Add option to search for and use system JSONCPP. * Remove broken LuaJIT version detection. * Rename `DISABLE_LUAJIT` to `ENABLE_LUAJIT`. * Rename `minetest_*` variables in `version.{h,cpp}` to `g_*`. * Clean up style of CMake files.
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.
2015-02-02Fix some MSVC-specific warnings and add debug path as an MSVC directorykwolekr
2015-01-18Fix all warnings and remove -Wno-unused-but-set cflagkwolekr
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-07-06Fix warnings reported by clangsfan5
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-04-19Fix win32 build (typo in jthread lock cleanup)sapier
2014-04-19jthread remove locks that aren't absolutely requiredsapier
add c++11 atomic support (optional)
2014-01-15Fix win32 reading semaphore count not working (broke all queues)sapier
2014-01-14Fix building under MSVCBlockMen
2014-01-10Make MutexQueue use jsemaphore for signalingsapier
2013-12-06Fix win32 jthread implementationsapier
2013-12-03Fix broken async locking in release buildsapier
2013-12-01Cleanup jthread and fix win32 buildsapier
2013-11-30Fix log threadname lookup handling not beeing threadsafesapier
2013-11-30Fix MSVC build.Ilya Zhuravlev
2013-11-30Fix broken thread stop handlingsapier
2013-11-29Fix modstore/favourites hang by adding asynchronous lua job supportsapier
2013-09-15Always use builtin JThread librarykwolekr
2013-06-27Add minetest.get_mapgen_object to APIkwolekr
2013-06-23Add support for IPv6proller
Two new configuration options are added: - "enable_ipv6" to enable/disable the overall use of IPv6 - "ipv6_server" to enable/disable the use of IPv6 sockets when running a server (when "enable_ipv6" is enabled)
2013-05-25Move scriptapi to separate folder (by sapier)sapier
On the lua side, notably minetest.env:<function>(<args>) should now be replaced by minetest.<function>(<args>). The old way is and will stay supported for a long time. Also: Update and clean up lua_api.txt (by celeron55) Move EnvRef to lua and remove add_rat and add_firefly (by kahrl) Add separate src/util/CMakeLists.txt, other minor fixes (by kahrl)
2013-02-25Fix build on Windowskwolekr
2013-02-25Add emerge.cpp, initial EmergeThread changeskwolekr
- Neatly placed all emerge related code into a new file, emerge.cpp - Greatly cleaned up the code in EmergeThread::Thread() - Reworked Emerge queue. Now an actual std::queue of v3s16 block positions - Removed the completely unnecessary map of peer ids requesting blocks
2011-02-21Temporary commit; lots of test code and stuffPerttu Ahola
2011-01-08CMake working on Linux (not on windows)Perttu Ahola
--HG-- rename : Makefile => Makefile.bak