Thread ownership of a World
#13
I don't understand what you're saying.

I think most accesses to the chunkmap are already done from from the Tick thread? With my solution the special cases that try to access the chunkmap from a different thread use the RunOnTickThread() function and we can get rid of all the CriticalSections. This should increase performance (though perhaps small) because no CriticalSections are being used and it makes it clear that the chunkmap can only be accessed by the Tick thread.
Reply
Thanks given by:


Messages In This Thread
Thread ownership of a World - by FakeTruth - 06-09-2013, 10:08 PM
RE: Thread ownership of a World - by xoft - 06-09-2013, 10:18 PM
RE: Thread ownership of a World - by FakeTruth - 06-09-2013, 10:27 PM
RE: Thread ownership of a World - by xoft - 06-10-2013, 12:18 AM
RE: Thread ownership of a World - by FakeTruth - 06-10-2013, 12:26 AM
RE: Thread ownership of a World - by xoft - 06-10-2013, 01:06 AM
RE: Thread ownership of a World - by FakeTruth - 06-10-2013, 01:52 AM
RE: Thread ownership of a World - by xoft - 06-10-2013, 03:25 AM
RE: Thread ownership of a World - by FakeTruth - 06-10-2013, 03:30 AM
RE: Thread ownership of a World - by xoft - 06-10-2013, 03:31 AM
RE: Thread ownership of a World - by FakeTruth - 06-10-2013, 04:28 AM
RE: Thread ownership of a World - by xoft - 06-10-2013, 05:55 AM
RE: Thread ownership of a World - by FakeTruth - 06-10-2013, 06:07 AM
RE: Thread ownership of a World - by xoft - 06-10-2013, 06:28 AM
RE: Thread ownership of a World - by FakeTruth - 06-10-2013, 06:54 AM
RE: Thread ownership of a World - by xoft - 06-10-2013, 02:36 PM
RE: Thread ownership of a World - by xoft - 07-06-2013, 04:41 AM
RE: Thread ownership of a World - by tonibm19 - 07-06-2013, 06:21 AM
RE: Thread ownership of a World - by xoft - 07-06-2013, 07:13 AM
RE: Thread ownership of a World - by FakeTruth - 07-06-2013, 07:43 PM
RE: Thread ownership of a World - by xoft - 07-07-2013, 04:48 AM



Users browsing this thread: 4 Guest(s)