[asterisk-bugs] [JIRA] (ASTERISK-23553) Add ast_spinlock capability to lock.h
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Thu May 22 11:52:58 CDT 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-23553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Jordan updated ASTERISK-23553:
-----------------------------------
Target Release Version/s: 12.3.0
> 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
> Target Release: 12.3.0
>
>
> 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