[Ecls-list] Locking strategy (best so far)

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Thu Mar 29 20:49:26 UTC 2012


On Thu, Mar 29, 2012 at 5:57 PM, Juan Jose Garcia-Ripoll <
juanjose.garciaripoll at googlemail.com> wrote:

> This seems to be a good compromise, using the underlying operating system
> for waiting and signaling and using a fast atomic path for detecting the
> lock-free case. First the simple mutex


The code for that implementation has been uploaded. It is only used on
POSIX platforms which provide the previously mentioned implementation if
signals. On other platforms ECL will still use the spinlock with increasing
waiting times.

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/20120329/153976b3/attachment.html>


More information about the ecl-devel mailing list