Commit Graph

39 Commits (8543d09c392074b2bd08636f8e66a608b025707d)

Author SHA1 Message Date
Petr Mrázek d2afd21318 Stop synchronous suspend from eating CPU cycles.
Untested on windows.
Breaks the SHM protocol. New SHM server library is required.
2010-03-18 19:55:01 +01:00
Petr Mrázek 310669737e Port multiple client SHM to Windows 2010-03-13 17:44:36 +01:00
Petr Mrázek 834a64c282 Fix horrible race conditions in suspend and resume 2010-03-12 18:29:11 +01:00
Petr Mrázek 0dd14bb9c8 Cosmetic changes, really 2010-03-12 12:14:20 +01:00
Petr Mrázek 9d503515dd Another try at locking 2010-03-12 00:13:50 +01:00
Petr Mrázek f72bb0373d Linux SHM server: clean up on exit 2010-03-09 21:53:06 +01:00
Petr Mrázek 62ae8df573 per-process file locks on linux (stored in /tmp/DFHack/PID/)
minor signed/unsigned fix
2010-03-09 21:25:17 +01:00
Petr Mrázek 3e581908c1 Each DF process on windows now has unique mutex and shm names. 2010-03-09 13:41:55 +01:00
Petr Mrázek 36a6f1f0a4 mod-core rework
squashed some init commands together
fixed a problem with non-atomic shm command reading on the DF side that caused segfaults
2010-03-08 07:31:12 +01:00
Petr Mrázek 90baaad19b Allow recognizing multiple DF SHM processes by the client 2010-03-08 01:54:46 +01:00
Petr Mrázek 958ca0e384 Some map module bits 2010-03-05 16:06:02 +01:00
Petr Mrázek 73f95e4a6d Fix the mapblock reading - C++ was being 'helpful' again 2010-03-05 01:57:51 +01:00
Petr Mrázek 8e8d320a0b Don't build SHM on 64bit, makes no sense
Added origin to mapblock40d
2010-03-05 01:26:39 +01:00
Petr Mrázek c86464502c SHM rework, stage 2 2010-03-05 00:05:01 +01:00
Petr Mrázek 088028cc5f Small change 2010-03-04 18:46:37 +01:00
Petr Mrázek d06fd70789 Missing file + some new 2010-03-04 18:35:26 +01:00
Petr Mrázek 6e69dcdeed Use sched_yield depending on CPU affinity 2010-03-04 04:40:06 +01:00
Petr Mrázek 0192520d43 SHM rework, stage 1 2010-03-03 05:43:38 +01:00
Petr Mrázek 39e23dab24 comments and spaces 2010-02-28 21:21:20 +01:00
Petr Mrázek fa878f2e9d Fix terrible Linux SHM performance on single-core 2010-02-28 18:08:44 +01:00
Petr Mrázek 626d266e27 Added GCC visibility support 2010-02-25 23:43:37 +01:00
Petr Mrázek bb141fe8f6 Linux d18 ncurses support for shm lib
Some boost preparations
2010-02-23 19:26:15 +01:00
Petr Mrázek c827cb6dfc Reduce chaos in precompiled SHM libs 2010-02-19 12:37:51 +01:00
Petr Mrázek e31f5a2973 Less SHM terminal spam 2010-02-19 05:28:54 +01:00
Petr Mrázek 2bde06a2af Added veinlook, linux SHM produces less spam messages.
Veinlook is a tool that allows looking at the map and the different vein types it contains. This adds ncurses as a dependency on Linux.
2010-02-17 17:49:19 +01:00
Petr Mrázek 56969fb977 Added std::string read/write by belal. Extremely volatile. 2010-02-16 00:04:15 +01:00
Petr Mrázek a8d35f3724 fake SDL.dll for the SHM bridge now compiles right using the MS compiler 2010-02-13 00:47:08 +00:00
Petr Mrázek de32b65c11 engraving offsets for linux d16, attempt to fix MSVC bugs 2010-02-12 23:25:41 +00:00
Petr Mrázek ae8eada92e made windows shm server less MessageBox-happy 2010-02-11 13:27:48 +00:00
Petr Mrázek 2b430ea432 add shm support for windows d17 2010-02-11 04:56:24 +00:00
Petr Mrázek efdbb2fc42 some things to come in the near future ;) 2010-01-12 17:11:17 +00:00
Petr Mrázek 9f1216fa2f fixes 2010-01-11 18:57:57 +00:00
Petr Mrázek 7c784bce32 deadlock-filled windows SHM version 2010-01-11 06:27:59 +00:00
Petr Mrázek 4430b43851 windows shm server part 2010-01-08 05:52:37 +00:00
Petr Mrázek a01217f267 fixes 2010-01-05 20:51:58 +00:00
Petr Mrázek d43adaef6c small tweak to cmakelists 2010-01-05 03:04:42 +00:00
Petr Mrázek c7a5fbff11 windows SDL wrapper implemented 2010-01-04 22:20:17 +00:00
Petr Mrázek 8f47982e7d added a list of SDL functions to wrap in windows version 2010-01-04 05:41:53 +00:00
Petr Mrázek 242bf47143 some rearrangement of the shm server part, preparing for the windows port 2010-01-04 05:20:28 +00:00