[asterisk-bugs] [JIRA] (ASTERISK-23553) Add ast_spinlock capability to lock.h
George Joseph (JIRA)
noreply at issues.asterisk.org
Thu Apr 24 09:28:18 CDT 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-23553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
George Joseph closed ASTERISK-23553.
------------------------------------
Resolution: Fixed
Committed...
Author: gtjoseph
Date: Wed Apr 23 15:06:03 2014
New Revision: 412976
> Add ast_spinlock capability to lock.h
> -------------------------------------
>
> Key: ASTERISK-23553
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-23553
> Project: Asterisk
> Issue Type: Improvement
> Security Level: None
> Components: Core/NewFeature
> Affects Versions: SVN, 12.1.1
> Reporter: George Joseph
> Assignee: George Joseph
> Severity: Minor
>
> Add the following APIs to lock.h
> ast_spinlock_init
> ast_spinlock_lock
> ast_spinlock_trylock
> ast_spinlock_unlock
> Depending on the capabilities determined by configure, choose from the following implementations in order of preference... OSX Atomics (for OSX only), GCC Atomics, Pthread Spinlock and as a final fallback.. Pthread Mutex.
> Patch pending post to reviewboard.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list