[asterisk-bugs] [Asterisk 0016360]: LOCK behaves like trylock (not waiting for 3 seconds)

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Dec 1 03:58:33 CST 2009


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16360 
====================================================================== 
Reported By:                peterh
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   16360
Category:                   Functions/func_lock
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.2.0-rc6 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-12-01 03:58 CST
Last Modified:              2009-12-01 03:58 CST
====================================================================== 
Summary:                    LOCK behaves like trylock (not waiting for 3
seconds)
Description: 
I thought LOCK will try to get the lock and wait up to 3 seconds to get the
lock.

First Caller A calls a context with a LOCK statement and waits.
Then Caller B calls the same context and i see that LOCK is finished
immediately.



====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-01 03:58 peterh         New Issue                                    
2009-12-01 03:58 peterh         Status                   new => assigned     
2009-12-01 03:58 peterh         Assigned To               => tilghman        
2009-12-01 03:58 peterh         Asterisk Version          => 1.6.2.0-rc6     
2009-12-01 03:58 peterh         Regression                => No              
2009-12-01 03:58 peterh         SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list