Commit Graph

62 Commits (master)

Author SHA1 Message Date
Samy Al Bahra b1b19c1f74 ck_ring: Memory fence is overly pedantic for parameterized enqueue.
12 years ago
Samy Al Bahra 80c56d115b ck_ring: Do not use volatile load for parametric ck_ring_size.
12 years ago
Samy Al Bahra ad5e143bd5 ck_ring: Various improvements to readability.
12 years ago
Samy Al Bahra 94c26494a6 ck_ring: Size is no longer necessary.
12 years ago
Samy Al Bahra 3cf265cba0 all: Strip trailing whitespaces.
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 5889498c16 ck_ring: Add modulo logic to ck_ring_size and CK_RING_SIZE.
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 7c8ab13343 Some fixes for strict aliasing. Silence some warnings from clang.
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