Samy Al Bahra
500d36cdb8
ck_ht: Fix race condition associated with no pointer packing variant.
...
We must still reprobe after value check. This only affects builds
without --enable-pointer-packing (or releases >= 0.2.3).
13 years ago
Samy Al Bahra
18d74f55a1
ck_ht: Add support for user-specified hash functions.
13 years ago
Samy Al Bahra
a361153e07
build: Bump version for next release.
13 years ago
Samy Al Bahra
606afe0f23
ck_rwlock: Add ck_rwlock_recursive facility.
...
Allows for write-side recurion. Added upon request by
other users. Regression test has been updated.
13 years ago
Samy Al Bahra
402c31ca9a
ck_hp_fifo: Add try{enqueue,dequeue} variants.
...
Regression test has been updated and passes.
13 years ago
Samy Al Bahra
a90b402c0c
regressions/ck_fifo: Add test for try{enqueue,dequeue} API.
13 years ago
Samy Al Bahra
816e11ff61
ck_fifo: Add tryenqueue/trydequeue wait-free operations.
...
Pending regressions tests, taking snapshot while I move to cafe.
13 years ago
Samy Al Bahra
286cc8b012
ck_hp_stack: Add trypush/trypop variants.
...
Regressions tests pending an update (taking a snaphot, A/C is down).
13 years ago
Samy Al Bahra
ff6f4d94f4
ck_stack: Add wait-free trypop and trypush operations.
...
Regression tests have been updated to test these operations as
equivalents to regular looping push/pop operations.
13 years ago
Samy Al Bahra
9446bc3e96
ck_stack: Get rid of default back-off behavior.
13 years ago
Samy Al Bahra
46a88705c4
ck_hp: Include missing ck_backoff.h include.
13 years ago
Samy Al Bahra
e074a089be
ck_epoch: Include missing ck_backoff.h file.
13 years ago
Samy Al Bahra
1cabea8a54
ck_hp_{fifo, stack}: Get rid of backoff behavior by default.
13 years ago
Samy Al Bahra
7dd549418a
ck_bytelock: Remove backoff behavior by default.
13 years ago
Samy Al Bahra
11505f8417
ck_fifo: Remove backoff behavior by default.
13 years ago
Samy Al Bahra
e8265d8735
build: Bump version for next minor release.
13 years ago
Samy Al Bahra
abcee3ff51
README: Remove trailing whitespace.
13 years ago
Samy Al Bahra
42615a234f
ck_bag: Remove trailing whitespace.
13 years ago
Samy Al Bahra
ef3e6f394b
ck_ht: Remove trailing whitespace.
13 years ago
Samy Al Bahra
f61c694656
ck_bag: Whitespace clean-up.
13 years ago
Samy Al Bahra
4fcb6a5e5f
ck_bag: Disable pointer packing by default.
13 years ago
Samy Al Bahra
8bed9627a6
ck_ht: Enable pointer packing only if explicitly enabled.
...
Pointer packing is only utilized on the x86_64 port.
13 years ago
Samy Al Bahra
84f7136cbb
build: Add deletion of ck_md.h to distribution target.
13 years ago
Samy Al Bahra
f38cc85ac9
build: Add --enable-pointer-packing option.
...
Pointer packing is now disabled by default for x86_64 targets.
Jeffrey M. Birnbaum <jmbny.@...> told me that according to his
discussions with Intel engineers, Haswell will be bumping up
VMA bits to 56 bits from 48.
If you control the hardware that CK is deployed to and don't
envision a migration to 48-bits anytime soon, then you may
enable old behavior (resulting in significant memory savings
for some data structures, namely ck_ht) by passing the
--enable-pointer-packing flag to configure.
13 years ago
Samy Al Bahra
2b2e44203b
Merge pull request #5 from abelmathew/master
...
ck_bag: Merge from abelmathew/master.
13 years ago
Abel Mathew
6a6f1d53c8
ck_bag: Validate block_size > block_overhead during ck_bag_init.
...
Check ck_bag_init return value in unit test.
13 years ago
Abel Mathew
2e921847ab
ck_bag: Free unoccupied blocks in ck_bag_destroy.
13 years ago
Abel Mathew
bbc6f584fd
ck_bag: Various Bug Fixes and Cleanup.
...
Migrate available block list to CK_LIST.
New blocks are only allocated when the available list is exhausted.
Remove bag->avail_tail.
Print out number of writer iterations for unit test.
Lengthen duration of unit test.
13 years ago
Samy Al Bahra
2136067723
Merge branch 'master' of git.concurrencykit.org:ck
13 years ago
Samy Al Bahra
8a3c4786a8
ck_bag: Initialize n_entries.
13 years ago
Samy Al Bahra
08fc765a17
LICENSE: Update Copyright years.
13 years ago
Samy Al Bahra
7b7f9cde52
Merge pull request #4 from philips/license-file-add
...
LICENSE: initial commit
13 years ago
Brandon Philips
edd75b9a87
LICENSE: initial commit
...
Add a license file just to make it easier for discovery.
13 years ago
Samy Al Bahra
fdce6fcc30
ck_bitmap: Fix ck_bitmap_next for 32-bit targets.
...
The nubmer of bits in a block was previously hard-coded.
13 years ago
Samy Al Bahra
0aa2c20cce
build: Bump minor version for release.
13 years ago
Samy Al Bahra
099a6c7b04
ck_bitmap: Add bitmap iterator functions.
...
These can do with some optimization. A majority of this
work is based off an earlier patch submitted by
Shreyas Prasad <sprasad@appne....>.
13 years ago
Samy Al Bahra
9bc4ede14e
ck_pr/x86: Re-order includes.
13 years ago
Samy Al Bahra
5cc3e6f1fc
ck_pr: Re-order includes.
13 years ago
Samy Al Bahra
3cf265cba0
all: Strip trailing whitespaces.
13 years ago
Samy Al Bahra
7d3464bd86
Merge pull request #3 from abelmathew/master
...
Found a nasty bug when I was testing ck_bag with segment precomputation.
13 years ago
Abel Mathew
854ede8cfe
ck_bag: Fix overallocation bug.
...
Initialize bag->n_blocks to fix overallocation bug
during initial ck_bag_put_spmc.
13 years ago
Samy Al Bahra
b5334dc32b
build: Bump internal release number.
13 years ago
Samy Al Bahra
4251e6aa56
ck_pr: Update PPC32 header guard to be consistent.
13 years ago
Samy Al Bahra
70edc1f6cb
ck_pr: Merge Joao's PPC32 support with some modifications.
...
Add PPC32 build file. Add support in configure script.
13 years ago
Samy Al Bahra
334ba2463f
Merge remote-tracking branch 'remotes/jcfernandes/powerpc'
13 years ago
Samy Al Bahra
5409d51d4a
doc/ck_ht: Remove extraneous .El in ck_ht_remove_spmc.
13 years ago
Samy Al Bahra
3c791bf18e
doc/ck_bitmap: Add actual manual page for ck_bitmap_buffer.
13 years ago
Samy Al Bahra
7dc73ada6d
doc/ck_bitmap: Add ck_bitmap_buffer manual page.
13 years ago
Samy Al Bahra
1f1f0d834f
doc/ck_bitmap: Add ck_bitmap_bits manual page.
13 years ago
Samy Al Bahra
8d569d6d8d
doc/ck_bitmap: Add ck_bitmap_clear manual page.
13 years ago