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
Samy Al Bahra
85099afb85
regressions: Add ck_brlock and ck_rwlock executables to gitignore.
14 years ago
Samy Al Bahra
c46bc1f1d7
regressions: Silence some irrelevant compiler warnings.
14 years ago
Samy Al Bahra
e1219a4d17
regressions/ck_stack: Remove unused variable.
14 years ago
Samy Al Bahra
9098485dc7
regressions: Add Makefile for ck_rwlock and ck_brlock.
...
Remove Makefile entry from .gitignore.
14 years ago
Samy Al Bahra
b4404f5f86
regressions: Add ck_rwlock to Makefile.
14 years ago
Samy Al Bahra
7b44a157ea
regressions: Use ck_rwlock instead of local implementation.
...
regressions/ck_bytelock/benchmark/latency: Switch to tabs from spaces.
14 years ago
Samy Al Bahra
006f58edcb
ck_rwlock: Add a naive rw spinlock after many requests.
14 years ago
Samy Al Bahra
647e570516
regressions: Add ck_brlock to the regressions Makefile.
14 years ago
Samy Al Bahra
786efb9594
ck_brlock: Add big reader spinlocks.
14 years ago
Samy Al Bahra
295a63a90b
configure: Suffix flags.
14 years ago
Samy Al Bahra
8fd90d71c3
build: Do not over-write user-specified options.
14 years ago
Samy Al Bahra
631d5f93f4
ck_pr/sparcv9: Recent SPARCs actually implement RSO.
...
ck_pr_fence_store/load will enforce store/load barriers
by default from now on.
14 years ago
Samy Al Bahra
a89f89c033
Fix build on other targets.
...
Update regressions.build.in to use PTHREAD_CFLAGS.
14 years ago
sbahra
49a2820000
Added support for Sun Studio 12 C compiler.
...
build:
- configure step will generate relevant CFLAGS.
- build profiles are for convenience (developers can use themu
for cross-compilation).
regressions:
- Renamed ck_barrier unit tests to work-around behavior
of Solaris linker.
- Adopted use of a PTHREAD_CFLAGS variable.
ck_cc:
- Added internal CK_CC_IMM macro for compilers that are
verbose against impossible inline constraints (or limited
optimizers).
ck_pr/x86*:
- Adopted CK_CC_IMM macro.
- Dropped redundant constraints.
This work was mostly completed by Theo Schlossnagle
<jesus@omniti.com>, much thanks to him. He has
also provided access to a machine with Sun Studio 12.
14 years ago
Samy Al Bahra
2754038882
regressions: Drop run.sh, unnecessary. To be replaced soon.
14 years ago
Samy Al Bahra
38c614222a
ck_spinlock: Avoid modulus on unlock for power of 2 count.
14 years ago
Samy Al Bahra
6b4d03b30d
Add ck_stack_read to gitignore
14 years ago
Samy Al Bahra
b0fbcb8210
regressions: ck_spinlock, make throughput test more robust.
...
Use explicit entry barrier. Move thread counters to separate
cache lines.
14 years ago