[Ecls-list] Status of MP code

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Thu Apr 19 15:22:05 UTC 2012


On Thu, Apr 19, 2012 at 5:16 PM, Matthew Mondor <mm_lists at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20120419/b5b5e0e7/attachment.html>


More information about the ecl-devel mailing list