Samy Al Bahra
cc8c3fb2db
ck_pr/gcc: Fix style issue.
12 years ago
Samy Al Bahra
8311e9fcb4
ck_pr: Update GCC port and change ck_pr dependency path.
...
The compiler-specific ck_pr is now unconditionally included.
It currently implements things like compiler barriers.
12 years ago
Samy Al Bahra
137fb49951
regressions: Fix link order.
12 years ago
Samy Al Bahra
44b769963f
ck_pr: ck_pr_fence_X_Y interface has been added.
...
ck_pr_fence_{load_load,store_store,load_store,store_load} operations
have been added. In addition to this, it is no longer the responsibility
of architecture ports to determine when to emit a specific fence. Instead,
the underlying port will always emit the necessary instructions to
enforce strict ordering. The higher-level include/ck_pr implementation will
enforce whether or not a fence is necessary to be emitted according to
the memory model specified by ck_md (CK_MD_{TSO,RMO,PSO}).
In other words, only ck_pr_fence_strict_* is implemented by the MD-ck_pr
port.
12 years ago
Samy Al Bahra
ca35d3bb75
regressions/ck_hs: Fix typo in Copyright statement.
12 years ago
Samy Al Bahra
c9ecf8e210
doc: Add ck_ht_reset_size_spmc manual page, fix references.
...
This commit also fixes incorrect references to non-existent
ck_ht_reset function (replaced with ck_ht_reset_spmc).
12 years ago
Samy Al Bahra
8718912993
doc: Cross-reference ck_hs_reset_size and fix title.
12 years ago
Samy Al Bahra
b75227089f
doc: Add ck_hs_reset_size manual page.
12 years ago
Samy Al Bahra
855a1472a8
ck_ht: Add ck_ht_reset_size_spmc operation.
...
The ck_ht_reset_size_spmc operation takes an additional argument
that allows the user to specify the size of the new generation
of the hashtable.
12 years ago
Samy Al Bahra
73531e9e48
ck_hs: Add ck_hs_reset_size operation.
...
The ck_hs_reset_size operation takes an additional argument
that allows the user to specify the size of the new generation
of the hashset.
12 years ago
Samy Al Bahra
327c0fdc95
doc: Fix ck_ring_capacity reference to ck_ring_size.
12 years ago
Samy Al Bahra
4132ec4998
ck_epoch: Add ck_epoch_reclaim function.
...
This function allows for explicit execution of all
deferred callbacks in an epoch_record. The primary
motivation is currently for performance profiling
but there are other use-cases where best-effort
semantics could be applied.
12 years ago
Samy Al Bahra
281b5ad045
Merge branch 'master' of https://github.com/davidjoseph/ck
12 years ago
Samy Al Bahra
67598d9452
build: Bump version for next release.
12 years ago
Samy Al Bahra
f1d10a3d18
doc/ck_ring: Add ck_ring_{capacity,size} manual pages.
12 years ago
Samy Al Bahra
ced5ade893
doc: Add ck_ring manual pages.
12 years ago
Samy Al Bahra
16e8b1c672
regressions/ck_ring: Allow for buffers of size 4 or more.
12 years ago
Samy Al Bahra
1201e09577
ck_ring: Remove stale comment.
12 years ago
David Joseph
adc1e28856
regressions: Windows header and define fixes.
12 years ago
David Joseph
d17d8e87bb
regressions: Remove void * casting.
12 years ago
David Joseph
ce3426ffaf
Merge branch 'master' of git://git.concurrencykit.org/ck
12 years ago
David Joseph
7b94d7c13d
regressions: Make clean and gettimeofday fixes.
12 years ago
David Joseph
a4cd7f2ef2
Revert "regressions: Remove exes with make clean."
...
This reverts commit 9d37e38580
.
12 years ago
Samy Al Bahra
099ec934b2
regressions/ck_queue: Remove stale include file.
...
This was added during testing to verify parity with
sys/queue.h.
12 years ago
David Joseph
9d37e38580
regressions: Remove exes with make clean.
12 years ago
Samy Al Bahra
d05fb25cfd
regressions: Remove ITERATION specialization silliness.
12 years ago
Samy Al Bahra
7de2d45d1a
Merge branch 'master' of https://github.com/davidjoseph/ck
12 years ago
Samy Al Bahra
b8d0ec526f
doc/ck_pr: Passive voice fixes.
12 years ago
Samy Al Bahra
57e96b00ed
doc/ck_pr: Additional improvements to ck_pr_load manual page.
12 years ago
Samy Al Bahra
5a26d1a41d
doc/ck_pr: Add ck_pr_store manual page.
12 years ago
Samy Al Bahra
537391bb72
doc/ck_pr: Add ck_pr_load manual page.
12 years ago
Samy Al Bahra
72a3b844b2
doc/ck_cohort: Minor fixes.
12 years ago
Samy Al Bahra
667285e493
doc/ck_hs: Fix title for ck_hs_iterator_init.
12 years ago
Samy Al Bahra
235a57ebef
doc/ck_pr: Add ck_pr_bt{c,r,s} manual pages.
12 years ago
Samy Al Bahra
187d67f4c9
doc/ck_pr: Add ck_pr_cas manual page.
12 years ago
Samy Al Bahra
011a9751a6
ck_queue: Add traversal-safe SPMC STAILQ.
12 years ago
Samy Al Bahra
9cf089b157
regressions/ck_list: Coverage for INSERT_AFTER/INSERT_BELOW.
12 years ago
Samy Al Bahra
5a13fddf70
ck_hp_fifo: Style fixes.
12 years ago
Samy Al Bahra
7980489eaf
ck_hp_stack: Style fixes.
12 years ago
Samy Al Bahra
5c483e3b1c
ck_hp: hp_acquire patterns require strict fences under TSO.
...
Several counter-examples were found which break in the
presence of store-to-load re-ordering. Strict fence
semantics are necessary.
Thanks to Paul McKenney for helpful discussions.
12 years ago
Samy Al Bahra
c22dcdb04b
doc/ck_pr: Additional manual pages.
12 years ago
Samy Al Bahra
ae688d1f09
doc/ck_pr: Fix typo in ck_pr_neg manual page.
12 years ago
Samy Al Bahra
0bb9196f0f
doc/ck_pr: Do not cross-reference non-existant functions.
12 years ago
Samy Al Bahra
01075577df
doc/ck_bag_init: Correct formatting error.
12 years ago
Samy Al Bahra
6a42ad9bde
doc/ck_pr: Additional documentation and targets.
12 years ago
Samy Al Bahra
25c99e806b
doc/ck_pr: Additional documentation.
12 years ago
David Joseph
ebc58ede20
regressions: fix common_gettimeofday.
...
Accidentally moved code that sets tv_sec/usec outside of tv NULL check.
12 years ago
David Joseph
8c88190557
regressions: fix printing timevalues in MinGW.
12 years ago
David Joseph
ef2ad6b998
regressions: Implement common_gettimeofday.
...
Windows uses GetSystemTimeAsFileTime, which has some differences
with Unix' gettimeofday.
This commit also reduces the number of iterations for the ck_ticket_pb
validation to 1000 - the test was taking too long on MinGW systems.
12 years ago
David Joseph
36a2ba143a
Merge branch 'master' of https://github.com/sbahra/ck
12 years ago