Well, syncronism is on the table, yes.
I suppose a master node could be defined, taking care of the
semaphore management for the entire system.
This reminds me about Redis, couldn't that nice piece of SW be used?
Like this:
Init:
set sem1 1
set sem2 1
set sem3 1...
Use:
if( get sem1) decr sem1
get sem1
if (sem1 < 0 ) incr sem1
wait/timeout
else...
and when finished:
incr sem1...
Maybe it's overkill...
/ Roger
******************************
Roger Holmquist
[email protected]
0706-250123
http://abcnc.se
******************************
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers