URL:
<http://savannah.cern.ch/bugs/?96347>
Summary: Deadlock in child fork handler logic
Project: XROOTD
Submitted by: apeters
Submitted on: 2012-07-26 10:22
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: ljanyst
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Fixed by commit(s):
_______________________________________________________
Details:
The check 'EnvGetLong...' to decide if to call a fork handler is not deadlock
free if another thread is calling EnvGetXXX or has fMutex locked in that
moment.
static void child()
{
if( EnvGetLong( NAME_ENABLE_FORK_HANDLERS ) && ConnectionManager )
{
ConnectionManager->BootUp();
}
}
_______________________________________________________
Reply to this item at:
<http://savannah.cern.ch/bugs/?96347>
_______________________________________________
Message sent via/by LCG Savannah
http://savannah.cern.ch/
########################################################################
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
|