David Joseph
0123c454f4
ck_pr: Add support for atomic ops for doubles.
...
Implemented add, sub, dec, inc, neg, faa and fas in terms of CAS.
13 years ago
Samy Al Bahra
1cefea7eb6
ck_spinlock: Provide a default implementation.
...
Several users in the past have noted it was difficult for them
to decide what spinlock implementation to use. In light of this,
a light-weight greedy default is chosen (currently ck_spinlock_fas).
13 years ago
Samy Al Bahra
50f6f6ee02
ck_rwlock: Add ck_rwlock_write_downgrade.
...
This function allows the writer to downgrade to shared access
atomically.
13 years ago
Samy Al Bahra
0231b68a8b
ck_spinlock: Add ck_spinlock_*_locked.
...
This class of functions detects whether or not the
lock is currently acquired.
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
Samy Al Bahra
1513afefda
build: Prepare for next minor release.
13 years ago
Samy Al Bahra
0e20787a1d
build: Bump version for next minor release.
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
500c81cbf8
README: Update URL.
13 years ago
Samy Al Bahra
851aaf8dd6
ck_brlock: Allow for recursive reader lock.
13 years ago
Samy Al Bahra
0d8faa5cd8
ck_epoch: Update unit tests to conform to new API.
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
273bc0703d
build: Prepare version for next minor release.
13 years ago
Samy Al Bahra
10ffb2e6f1
ck_epoch: Support per-object destructors.
...
This increases epoch per-object overhead to 16 bytes.
13 years ago
Samy Al Bahra
0f48b6fe7a
ck_proxy: Add support for recursive epoch sections.
...
Note that the global epoch won't tick over until the
parent epoch section has completed.
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
46af4d7d24
Merge branch 'master' of github.com:sbahra/ck
13 years ago
Samy Al Bahra
715f1c4182
build: Create correct header file directory.
13 years ago
Samy Al Bahra
b7953db58d
Merge branch 'master' of ssh://git.concurrencykit.org/ck
13 years ago
Samy Al Bahra
f59687adf2
build: Add support for DESTDIR.
13 years ago
Samy Al Bahra
1cf3caba4e
Bump version counter for next release.
13 years ago
Samy Al Bahra
f069d081be
ck_hp: Branch-free compare (contributed by Degski).
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
faf3084c26
configure: No need for GENERATE_FILE.
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
1d3c6e472f
gitignore: Add some new regressions.
14 years ago
Samy Al Bahra
c7a12c7ac2
ck_fifo: Add a simple spinlock interface for ck_fifo_spsc.
14 years ago
Samy Al Bahra
20584f085c
Merge commit 'aafefa7592ac0e34d1ad'
14 years ago
Austin Seipp
aafefa7592
Fix build on OS X; ld needs 'install_name', not 'soname'
14 years ago
Samy Al Bahra
55a932787e
Build: Bump counter for next release.
14 years ago
Samy Al Bahra
8854d4de96
Build: Add install-headers target. Add phony uninstall target.
14 years ago
Samy Al Bahra
9920539810
Switch to tags until first API stabilization.
14 years ago
Samy Al Bahra
52e5152225
regressions: Additional header files, rename to throughput.
14 years ago
Samy Al Bahra
d2f5322e99
Build: Correct usage of ln (arguments swapped).
14 years ago
Samy Al Bahra
6132c12163
build: Specify soname for Solaris
14 years ago
Samy Al Bahra
005f0635ff
Build: Generate .soname, more verbose option for Sun linker.
14 years ago
Samy Al Bahra
6d72cc1b85
build: Remove stale flag.
14 years ago
Samy Al Bahra
c40d3f716d
ck_rwlock/ck_brlock: Add throughput benchmarks.
...
For the sake of documentation down the road.
14 years ago
Samy Al Bahra
16c86b98e5
ck_rwlock: Add publish semantics for rwlock.
14 years ago
Samy Al Bahra
43519250f5
build: Use typical LD naming convention for libck.so.
...
This was necessary in order to package CK with some distributions.
14 years ago
Samy Al Bahra
88ee328b78
ck_ring: Add CK_RING_SIZE/CAPACITY and ck_ring_size/capacity.
...
ck_ring_size will return the current size of the ring while ck_ring_capacity
will return the capacity of the specified ring.
14 years ago