Print

Print


    FYI. After investigation done by Red Hat, it turned out that mutexes 
suffer from the same fundamental problem as semaphores (ie. are not 
thread safe and not atomic). See comments 0002193 and 0002194 for a 
concise explanation of the issue. They have requested a clarification in 
POSIX from the Austin Group and, as a result, the POSIX standard has 
been updated.

    http://austingroupbugs.net/view.php?id=811

    The funny part is: "Of course nobody notices the bug because it's a 
race condition that gets hit once in an interval somewhere on the order 
of cpu-years...".

    Somehow we did noticed it (the corresponding semaphore bug) in EOS ;)

Cheers,
    Lukasz

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1