Commit Graph

20 Commits (7dda1edecf44b1c1e7acc99de32b7cca7b666903)

Author SHA1 Message Date
Samy Al Bahra 7530ca21b7 ck_fifo: Do not forget about node recycling.
12 years ago
Samy Al Bahra ccbf28f0cb ck_fifo: Remove unused variables, serialize MPMC insertion.
12 years ago
Samy Al Bahra 78f00eeeb6 ck_fifo_spsc: Fix implementation.
12 years ago
Samy Al Bahra ccb1fd6d86 ck_fifo: Add some load fences for SPARC/PPC.
13 years ago
Samy Al Bahra 816e11ff61 ck_fifo: Add tryenqueue/trydequeue wait-free operations.
13 years ago
Samy Al Bahra 11505f8417 ck_fifo: Remove backoff behavior by default.
13 years ago
Samy Al Bahra 3cf265cba0 all: Strip trailing whitespaces.
13 years ago
Samy Al Bahra 706fd07de7 legal: Update Copyright statements.
13 years ago
Samy Al Bahra 01d368b703 ck_fifo: Use ck_spinlock instead of specific spinlock implementation.
13 years ago
Samy Al Bahra d3f0a634ab ck_fifo: Add a mechanism to extract the spare node from the SPSC FIFO.
14 years ago
Samy Al Bahra 6b627d9aad ck_fifo: Add trylock interface to dequeue.
14 years ago
Samy Al Bahra 5b37b97f7e ck_fifo: Add fifo trylock variant.
14 years ago
Samy Al Bahra 76411d5d63 ck_fifo: Add volatile variation of ISEMPTY, isempty.
14 years ago
Samy Al Bahra c7a12c7ac2 ck_fifo: Add a simple spinlock interface for ck_fifo_spsc.
14 years ago
Samy Al Bahra 492faed9a3 Reformatting changes for my new laptop.
14 years ago
Samy Al Bahra 7bd5259505 ck_fifo: MPMC variant will return "garbage" pointer which user can re-use.
14 years ago
Samy Al Bahra beafb7d78e ck_fifo: Add back-off and remove recycle.
14 years ago
Samy Al Bahra 5f2f69eebb Work-around strict aliasing issue.
14 years ago
Samy Al Bahra 66ebe1a874 Drop usage of CK_CC_PACKED, prefer natural alignment.
14 years ago
Samy Al Bahra cbd30b2206 Initial import.
14 years ago