[asterisk-bugs] [JIRA] (ASTERISK-23579) Add ast_spinlock capability to lock.h
Rusty Newton (JIRA)
noreply at issues.asterisk.org
Wed Apr 2 18:43:19 CDT 2014
Rusty Newton created ASTERISK-23579:
---------------------------------------
Summary: Add ast_spinlock capability to lock.h
Key: ASTERISK-23579
URL: https://issues.asterisk.org/jira/browse/ASTERISK-23579
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