Print

Print


Update of bug #99083 (project xrootd):

             Report Type:                    None => Bug                    
                  Status:                    None => Ready to test          
      Fixed by commit(s):                         => 674010f0               

    _______________________________________________________

Follow-up Comment #5:

OK, I think I have found the source of the problem. I was being a bit too
clever. Could you verify that this patch fixes it? The issue comes down to
allowing callbacks to do a self-referential deletion. The only reason
libevent gets away with it is because it removes all references to the event
block before doing the callback and you have to explicitly add yourself back
in. IOEvents doesn't do that because it's an expensive proposition and a
relatively rare event that you would delete yourself anyway. So, there's a
lot of code to deal with that end case. But if you want to run efficiently on
multi-core batch nodes that's what one needs to do. It's rarely a problem if
you waste CPU in a workstation, especially for things like browsers, sigh.

    _______________________________________________________

Reply to this item at:

  <http://savannah.cern.ch/bugs/?99083>

_______________________________________________
  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