ecere/net/dcom; compiler/ecs: Improvements to solve interlock and racing conditions...
authorJerome St-Louis <jerome@ecere.com>
Mon, 30 Jan 2012 12:45:54 +0000 (19:45 +0700)
committerJerome St-Louis <jerome@ecere.com>
Mon, 30 Jan 2012 12:45:54 +0000 (19:45 +0700)
commit2941ae4253815becc9e35e42a59fc3c33378cdbe
treec75058e7dc50271a24864fc9a4867be370409d1f
parent579f64467ea053487701a2b6537120c9dc92eb43
ecere/net/dcom; compiler/ecs: Improvements to solve interlock and racing conditions in Blokus
- Solved interlock by letting virtual methods that do not return information, return before going into user code
  This way all 4 players can be notified before one such notification ends up waiting on something that will get done
  after notifying all players is completed.
- Solved racing condition involving Server object's virtualsBuffer by locking a mutex around its use
- DCOM bindings generation had to be modified in ecs
compiler/ecs/ecs.ec
ecere/src/net/dcom.ec