Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

[ sisc-Bugs-1820299 ] SRFI-18 mutexes are not reentrant: msg#00002

Subject: [ sisc-Bugs-1820299 ] SRFI-18 mutexes are not reentrant
Bugs item #1820299, was opened at 2007-10-25 17:57
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379534&aid=1820299&group_id=23735

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Mike J. Bell (ckimyt)
Assigned to: Nobody/Anonymous (nobody)
Summary: SRFI-18 mutexes are not reentrant

Initial Comment:
SRFI-18 gives an alternate definition for thread-sleep! as follows:

(define (sleep! timeout)
  (let ((m (make-mutex)))
    (mutex-lock! m #f #f)
    (mutex-lock! m timeout #f)))

This doesn't work in SISC, because SISC mutexes are reentrant.

So either SRFI-18 is underspecified/ambiguous (whether mutexes are reentrant is 
not explicitly stated, although from the above example they implicitly are not) 
or SISC does not in fact support SRFI-18.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379534&aid=1820299&group_id=23735

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/


<Prev in Thread] Current Thread [Next in Thread>