aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/lock.h
AgeCommit message (Expand)AuthorFilesLines
2010-07-02Have the DEADLOCK_AVOIDANCE macro warn when an unlock fails, to help catch po...tilghman1-9/+26
2010-06-18Remove an unnecessary assignment that causes a DEBUG_THREADS build failure on...russell1-4/+0
2010-06-18Fix a build problem on Mac OS X with DEBUG_THREADS enabled.russell1-16/+16
2010-03-23Revert revisions 254046 and 254098.qwell1-128/+1044
2010-03-23Allow out-of-tree modules to load, regardless of DEBUG_THREADS/DEBUG_CHANNEL_...qwell1-1044/+128
2009-11-09Perform limited bounds checking when destroying ast_mutex_t structures to mak...mnicholson1-9/+10
2009-09-04make asterisk compile under devmode with DEBUG_THREADS enabled on OpenBSDmvanbaak1-2/+2
2009-04-23unistd.h is required for usleep() on Darwin. It will not hurt to include it a...oej1-1/+1
2009-04-22Detect availability of pthread_rwlock_timedwrlock() before using it.tilghman1-2/+71
2009-04-09Oops, typotilghman1-1/+1
2009-04-09Race condition between ast_cli_command() and 'module unload' could cause a de...tilghman1-0/+76
2008-11-29update dev-mode compiler flags to match the ones used by default on Ubuntu In...kpfleming1-4/+4
2008-06-30Fix a typo in the non-DEBUG_THREADS version of the recently added DEADLOCK_AV...russell1-2/+2
2008-06-27In this debugging function, copy to a buffer instead of using potentially uns...tilghman1-4/+4
2008-05-29Define also when not DEBUG_THREADStilghman1-0/+5
2008-05-29Add some debugging code that ensures that when we do deadlock avoidance, wetilghman1-0/+32
2008-05-13A change to the way channel locks are handled when DEBUG_CHANNEL_LOCKS is def...mmichelson1-3/+6
2008-04-10Fix 1.4 build when LOW_MEMORY is enabled.mmichelson1-0/+17
2008-02-28Fix a bug in the lock tracking code that was discovered by mmichelson. The i...russell1-9/+9
2007-12-14When compiling with DETECT_DEADLOCKS, don't spam the CLI with messagesmmichelson1-4/+5
2007-12-07Fix another bug in the DEBUG_THREADS code. The ast_mutex_init() function hadrussell1-1/+1
2007-12-07I love fixing lock related errors in the lock debugging code. That's about asrussell1-1/+1
2007-12-05Fix some crashes in chan_iax2 that were reported as happening on Mac systems.russell1-2/+2
2007-11-06We went to the trouble of creating a method of tracking failed trylocks, then...tilghman1-1/+1
2007-11-06Remove some checks to see if locks are initialized from the non-DEBUG_THREADSrussell1-67/+0
2007-11-02Fix build on Solaristilghman1-29/+29
2007-10-30Fix for uninitialized mutexes on *BSDtilghman1-67/+298
2007-10-29Add some more details to the output of "core show locks". When a threadrussell1-24/+24
2007-10-22If lock tracking is not enabled, then we can not attempt to log any mutexrussell1-4/+19
2007-10-22Update the static mutex initializer to include the initialization ofrussell1-2/+2
2007-10-16really picky formatting tweak ...russell1-2/+2
2007-10-16Some locking errors exposed the fact that the lock debugging code itself wasrussell1-19/+71
2007-10-09This commit fixes the following issues:tilghman1-4/+12
2007-10-01Fulfull a feature request from Qwell on the "core show locks" output. It willrussell1-10/+17
2007-10-01Show rwlocks in the "core show locks" output. Before, it only showed mutexes.russell1-0/+79
2007-09-09Fix inline compiles on really old compilers (who uses gcc 2.7 anymore, really?)tilghman1-3/+11
2007-09-05Solaris x86 compatibility fixtilghman1-0/+4
2007-08-10The last set of changes that I made to "core show locks" made it not able torussell1-9/+17
2007-08-05Fix compilation failure when MALLOC_DEBUG is enabled, but DEBUG_THREADS is notrussell1-0/+2
2007-08-03Add some improvements to lock debugging. These changes take effectrussell1-9/+67
2007-07-24Merged revisions 76934 via svnmerge from tilghman1-1/+1
2006-12-28Backport support for read/write locks.file1-0/+66
2006-10-30Issue #8246 - Doxygen fixes from kshumard. oej1-1/+1
2006-09-28eliminate compiler warning when DEBUG_CHANNEL_LOCKS is enabled and users of t...kpfleming1-0/+2
2006-09-18don't need two copies of thiskpfleming1-50/+19
2006-09-18a little cleanup and simplification, and remove ON_FIRST_USE mode since nobod...kpfleming1-111/+32
2006-08-21merge new_loader_completion branch, including (at least):kpfleming1-2/+0
2006-08-17Use OSAtomicAdd instead of OSAtomicDecrement to decrement the value by 1.file1-2/+2
2006-06-30fix the condition for including the header for osx atomicsrussell1-1/+1
2006-06-30add support for atomic operations provided by mac osxrussell1-1/+23