Merging upstream version 0.7.1 (Closes: #991419).
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
05c588e9d7
commit
9e09e0ef69
99 changed files with 6727 additions and 943 deletions
|
@ -46,8 +46,8 @@ setup_test(void)
|
|||
{
|
||||
|
||||
ck_epoch_init(&epc);
|
||||
ck_epoch_register(&epc, &record);
|
||||
ck_epoch_register(&epc, &record2);
|
||||
ck_epoch_register(&epc, &record, NULL);
|
||||
ck_epoch_register(&epc, &record2, NULL);
|
||||
cleanup_calls = 0;
|
||||
|
||||
return;
|
||||
|
@ -88,7 +88,8 @@ test_simple_read_section(void)
|
|||
ck_epoch_begin(&record, §ion);
|
||||
ck_epoch_call(&record, &entry, cleanup);
|
||||
assert(cleanup_calls == 0);
|
||||
ck_epoch_end(&record, §ion);
|
||||
if (ck_epoch_end(&record, §ion) == false)
|
||||
ck_error("expected no more sections");
|
||||
ck_epoch_barrier(&record);
|
||||
assert(cleanup_calls == 1);
|
||||
|
||||
|
@ -157,7 +158,7 @@ reader_work(void *arg)
|
|||
ck_epoch_section_t section;
|
||||
struct obj *o;
|
||||
|
||||
ck_epoch_register(&epc, &local_record);
|
||||
ck_epoch_register(&epc, &local_record, NULL);
|
||||
|
||||
o = (struct obj *)arg;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue