On Tuesday 29 December 2009  14:41, Gabriel M. Beddingfield wrote :
> a lot of usefull and smart words !

what about this :

instead of
 - lock
 - memcpy
 - move indexes
 - unlock

 do this 
 - lock
 - moves indexes
 - unlock
 - memcpy

 IMHO it's good enough if the ring size is well ... sized.

 priority inversion could still happend, ... not if the lock operation is
 something else then a pthread_lock, but something like a:

 for(;;)
   tas(this,and,that);

regards Jeremy


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Hydrogen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

Reply via email to