Commit Graph

53 Commits (85709d0bc2986296cd34650de85694d23e9d3bde)

Author SHA1 Message Date
Olivier Houchard 27fb1bc00f ck: Reimplement a few libc headers, to make CK build when compiling in the
9 years ago
Samy Al Bahra e693cb9afe ck_*lock: Migrate all locking primitives to lock / unlock.
10 years ago
Samy Al Bahra 554e2f0874 whitespace: Strictly conform to C namespacing rules.
10 years ago
Samy Al Bahra 0dfd145aa6 whitespace: Update Copyright messages.
10 years ago
Samy Al Bahra d6ba2a6273 whitespace: Sweeping whitespace changes.
10 years ago
Samy Al Bahra f3539396c2 *lock: Simply use compiler barrier on initialization.
11 years ago
Samy Al Bahra 176dfce5c3 ck_rwlock: Fix conflict.
11 years ago
Samy Al Bahra e2913ab9c0 Revert "ck_rwlock: Migrate to 32-bit primitives and add a write_latch operation."
11 years ago
Samy Al Bahra 6ccfb84d81 Revert "ck_rwlock: Use sub for unlatch operation."
11 years ago
Samy Al Bahra ed476a617c Revert "ck_rwlock: Clear reader bits on unlatch operation."
11 years ago
Samy Al Bahra cdfac8213f Revert "ck_rwlock: Re-observe latch bits if necessary."
11 years ago
Samy Al Bahra 88d323f40d Revert "ck_rwlock: Acquire semantics for ordering on latch bits."
11 years ago
Samy Al Bahra 9ebd19a124 Revert "ck_rwlock: Add ck_rwlock_read_latchlock operation."
11 years ago
Samy Al Bahra cf097db790 Revert "ck_rwlock: Ignore latch bits on write lock operation."
11 years ago
Samy Al Bahra e2bd885953 Revert "ck_rwlock: Re-organization of write-side operations and latch support for write_trylock."
11 years ago
Samy Al Bahra 9aad0125af Revert "ck_rwlock: Additional re-organization of write-side functions."
11 years ago
Samy Al Bahra d3a7adaf8c Revert "ck_rwlock: Additional reorganization."
11 years ago
Samy Al Bahra 2a701163eb ck_rwlock: Ditch ck_rwlock latch for ck_swlock.
11 years ago
Samy Al Bahra 56de32fffd ck_rwlock: Additional reorganization.
11 years ago
Samy Al Bahra d9b86d2d89 ck_rwlock: Additional re-organization of write-side functions.
11 years ago
Samy Al Bahra ab22fda4e7 ck_rwlock: Re-organization of write-side operations and latch support for write_trylock.
11 years ago
Samy Al Bahra 8173b937bf ck_rwlock: Ignore latch bits on write lock operation.
11 years ago
Samy Al Bahra bc7ebc62eb ck_rwlock: Add ck_rwlock_read_latchlock operation.
11 years ago
Samy Al Bahra 2b567320de ck_rwlock: Acquire semantics for ordering on latch bits.
11 years ago
Samy Al Bahra fa28622386 ck_rwlock: Re-observe latch bits if necessary.
11 years ago
Samy Al Bahra 7f945460bc ck_rwlock: Clear reader bits on unlatch operation.
11 years ago
Samy Al Bahra b7c3c8a43d ck_rwlock: Use sub for unlatch operation.
11 years ago
Samy Al Bahra 210b724061 ck_rwlock: Migrate to 32-bit primitives and add a write_latch operation.
11 years ago
Samy Al Bahra c197b37df1 legal: Update Copyright statements.
11 years ago
Samy Al Bahra 0353cdcb23 ck_rwlock: Migrate to acquire / release and other barrier improvements.
11 years ago
Samy Al Bahra b67e91c858 ck_rwlock: Fold CK_ELIDE_ADAPTIVE_PROTOTYPE into PROTOTYPE.
12 years ago
Samy Al Bahra 768b5b3597 ck_rwlock: Add adaptive elision and unit tests.
12 years ago
Samy Al Bahra 671f82d7a8 ck_rwlock: Migrate to ck_elide.h.
12 years ago
Samy Al Bahra a03d58fff2 ck_rwlock: Use heavier-weight barrier on write path.
12 years ago
Samy Al Bahra a694e871ca ck_rwlock: Relax write_trylock_rtm semantics.
12 years ago
Samy Al Bahra 3fbefc5042 ck_rwlock: Add read_trylock_rtm.
12 years ago
Samy Al Bahra 4d2ccfe497 ck_rwlock: Add basic RTM interface to rwlock.
12 years ago
Samy Al Bahra 3f06a4e23a ck_rwlock: Use ck_pr_fence_atomic.
12 years ago
Samy Al Bahra 8c53de1e70 ck_rwlock: Add documentation on visibility semantics.
12 years ago
Samy Al Bahra 1ea5769fd4 ck_rwlock: Improve code legibility.
12 years ago
Samy Al Bahra 038b3d816d ck_rwlock: Forgot to add acquire on operation success.
12 years ago
Samy Al Bahra 33a9222923 legal: Update Copyright statements.
12 years ago
Samy Al Bahra bf30d3439c ck_rwlock: Remove unncessary load fences, switch to full semantics on read unlock.
12 years ago
Samy Al Bahra e78bbe9ae6 ck_{rw,byte,br}lock: Serialize final loads with respect to read.
12 years ago
Samy Al Bahra 45f310893c ck_rwlock: Fix behavior for weakly-ordered systems.
12 years ago
Samy Al Bahra 314ce3ad81 ck_rwlock: Drop factor argument to trylock API.
13 years ago
Samy Al Bahra 512bbc050b ck_rwlock: Add recursive trylock operations.
13 years ago
Samy Al Bahra 606afe0f23 ck_rwlock: Add ck_rwlock_recursive facility.
13 years ago
Samy Al Bahra 706fd07de7 legal: Update Copyright statements.
13 years ago
Samy Al Bahra 50f6f6ee02 ck_rwlock: Add ck_rwlock_write_downgrade.
13 years ago