Summary: | ASTERISK-23553: Add ast_spinlock capability to lock.h | ||
Reporter: | George Joseph (gjoseph) | Labels: | |
Date Opened: | 2014-03-27 14:59:21 | Date Closed: | 2014-04-24 09:26:30 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/NewFeature |
Versions: | SVN 12.1.1 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | 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. | ||
Comments: | By: George Joseph (gjoseph) 2014-04-24 09:26:30.122-0500 Committed... Author: gtjoseph Date: Wed Apr 23 15:06:03 2014 New Revision: 412976 |