On Thu, Apr 19, 2012 at 5:16 PM, Matthew Mondor <mm_li...@pulsar-zone.net>wrote:
> When auditing some of the code, I noticed that the WITH-LOCK macro
> still uses owner/count and has the race condition warning comment, is
> this something that can now be solved completely with the new locking
> implementation?
>
Yes, sorry for that: the warning is now irrelevant because the owner and
count values are now reliable. What happened before is that since there
could be an interrupt inside or right after pthread_mutex_lock(), it was
not sure whether ECL would be able to update the owner and counter values.
Juanjo
--
Instituto de FĂsica Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list