Commit Graph

132 Commits (005fe597a44b4490a39eeaa05a44e024e4100994)

Author SHA1 Message Date
Samy Al Bahra e88e17d27b ck_bitmap: Add ck_bitmap_buffer function.
13 years ago
Samy Al Bahra ab73676ee4 ck_bitmap: Lock-free MPMC contiguous bitset implementation.
13 years ago
Samy Al Bahra 5b4ea9cfe5 ck_bag: Update include-guard comment.
13 years ago
Abel Mathew eaa8ad1d4d ck_bag: Various bug fixes.
13 years ago
Samy Al Bahra 85c37ef251 ck_bag: Fix bug in ck_ht_iterator_init.
13 years ago
Samy Al Bahra 656b06582b ck_bag: Explicit load fence after acquiring n_entries snapshot.
13 years ago
Samy Al Bahra f940cc1263 ck_bag: Various stylistics changes, ck_md: Rename CK_MD_PAGE_SIZE to CK_MD_PAGESIZE.
13 years ago
Abel Mathew 8e83963d63 ck_bag: Add support for non x86_64 architectures. Memoize n_entries lookup when iterating over a bag.
13 years ago
Abel Mathew 431c24a90a ck_bag: Lock-Free SPMC bag/collection for x86_64. A bag is a linked list of blocks, with each block containing an array. Insertions are on the order of O(1) and deletions are on the order of O(N). This data structure is meant to act as a lock-free vector implementation.
13 years ago
Samy Al Bahra 42b32c6e6a ck_ring: Apply ck_ring_size logic to ck_ring_enqueue functions.
13 years ago
Samy Al Bahra 706fd07de7 legal: Update Copyright statements.
13 years ago
Samy Al Bahra 519a14b7f3 ck_ht: Add CK_F_HT feature flag.
13 years ago
Samy Al Bahra 3ad9f7e63d ck_ht: Add support for other 64-bit platforms.
13 years ago
Samy Al Bahra 01d368b703 ck_fifo: Use ck_spinlock instead of specific spinlock implementation.
13 years ago
Samy Al Bahra 41ec076372 ck_ht: Add ck_ht_entry_set_key_direct function.
13 years ago
Samy Al Bahra fb5d9331e2 ck_ht: Add ck_ht_entry_empty function.
13 years ago
Samy Al Bahra a7031bf938 ck_malloc: Add stdbool.h include.
13 years ago
Samy Al Bahra 2d37b6f828 ck_malloc: Add shared structure for representing data structure-specific allocation functions.
13 years ago
Samy Al Bahra 9f786337f7 ck_ht: Lock-free SPMC hash table, for x86_64.
13 years ago
Samy Al Bahra 4fc1717975 ck_epoch: Use full barrier on read begin and load barrier on read end.
13 years ago
Samy Al Bahra 674e69f259 ck_queue: Add BSD-derived queue.h facility.
13 years ago
Samy Al Bahra f5f5074b70 ck_pr: Cast down to void pointer for cmpxchg16b wrapper.
13 years ago
Samy Al Bahra eae4a518a8 ck_epoch: Differentiate read/write epoch endings.
13 years ago
Samy Al Bahra 17f69d6c0d ck_md: Parenthesize CK_MD_CACHELINE.
13 years ago
David Joseph 0123c454f4 ck_pr: Add support for atomic ops for doubles.
13 years ago
Samy Al Bahra 1cefea7eb6 ck_spinlock: Provide a default implementation.
13 years ago
Samy Al Bahra 50f6f6ee02 ck_rwlock: Add ck_rwlock_write_downgrade.
13 years ago
Samy Al Bahra 0231b68a8b ck_spinlock: Add ck_spinlock_*_locked.
13 years ago
Samy Al Bahra e8a96f4fb8 ck_pr: Add ck_pr_fas_double for {ppc,x86_}64 and ck_pr_cas_double{_2} for x86_64.
13 years ago
Samy Al Bahra 5e7adf5983 ck_pr: Add respective feature flags for ck_pr_load/store_double.
13 years ago
William Irwin 41ef93744a ck_pr: Add ck_pr_load_double()/ck_pr_store_double() in case volatile loads and stores of floating point values are needed.
13 years ago
Samy Al Bahra 851aaf8dd6 ck_brlock: Allow for recursive reader lock.
13 years ago
Samy Al Bahra c03dd7a45c ck_epoch: Update peak value on retire.
13 years ago
Samy Al Bahra cc4b83793f ck_epoch: Flip arguments, specify epoch_entry before destructor.
13 years ago
Samy Al Bahra 79c7e453ec ck_epoch: Specify destructor in ck_epoch_retire.
13 years ago
Samy Al Bahra 10ffb2e6f1 ck_epoch: Support per-object destructors.
13 years ago
Samy Al Bahra 0f48b6fe7a ck_proxy: Add support for recursive epoch sections.
13 years ago
Samy Al Bahra b5755888fc ck_rwlock: Add trylock variants with user-defined spin factor.
13 years ago
Samy Al Bahra 9feb93758f ck_brlock: Add trylock variants with user-defined spin factor.
13 years ago
Samy Al Bahra 8b0e83e6ab ck_brlock: No need for explicit pipeline stall if writer is active.
13 years ago
Samy Al Bahra 4e7c6ee270 Add full barrier for anderson spinlock.
13 years ago
Samy Al Bahra 5889498c16 ck_ring: Add modulo logic to ck_ring_size and CK_RING_SIZE.
14 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 16c86b98e5 ck_rwlock: Add publish semantics for rwlock.
14 years ago
Samy Al Bahra 88ee328b78 ck_ring: Add CK_RING_SIZE/CAPACITY and ck_ring_size/capacity.
14 years ago
Samy Al Bahra 006f58edcb ck_rwlock: Add a naive rw spinlock after many requests.
14 years ago