Re: Boost.Threads Bug (recursive_try_mutex)
 
            
            
            
            
                19 Jan
                
                    2005
                
            
            
                19 Jan
                
                '05
                
            
            
            
        
    
                1:41 a.m.
            
        Mark Rodgers wrote:
Bill,
recursive_try_mutex::do_trylock() (BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE implementation) contains the following:
assert(res == 0);
Surely that should be
assert(res == 0 || res == EBUSY);
This bug still exists in 1.32! -- Jon Biggar Levanta jon@levanta.com
 
            
            
            
            
                17 Mar
                
            
            
                17 Mar
                
            
            
            
        
        
                3:04 a.m.
            
        
          New subject: Boost.Threads Bug (recursive_try_mutex)
        
        
    Jonathan Biggar wrote:
Mark Rodgers wrote:
Bill,
recursive_try_mutex::do_trylock() (BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE implementation) contains the following:
assert(res == 0);
Surely that should be
assert(res == 0 || res == EBUSY);
This bug still exists in 1.32!
Now fixed. Mike
        7533
        
      
          Age (days ago)
        
      
        7590
        
    
          Last active (days ago)
        
        
        
        1 comments
    
    
        
        2 participants
    
    
    
    
    
    
    
    
    participants (2)
- 
                 Jonathan Biggar Jonathan Biggar
- 
                 Michael Glassford Michael Glassford