[tor-bugs] #2504 [Tor Client]: When locking a file on windows, EACCESS tells us we have it locked already, not EDEADLOCK

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Feb 7 12:42:45 UTC 2011


#2504: When locking a file on windows, EACCESS tells us we have it locked already,
not EDEADLOCK
------------------------+---------------------------------------------------
 Reporter:  Sebastian   |       Owner:     
     Type:  defect      |      Status:  new
 Priority:  normal      |   Milestone:     
Component:  Tor Client  |     Version:     
 Keywords:              |      Points:     
   Parent:              |  
------------------------+---------------------------------------------------
 Bug noticed by mobmix on #tor, msdn description on
 http://msdn.microsoft.com/en-us/library/8054ew2f(v=vs.80).aspx

 remaining question I want to answer for myself is what happens when we
 already hold the lock and try to blockingly lock it again (do we get
 EACCESS like I hope or do we get EDEADLOCK)

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2504>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list