Merging upstream version 0.7.2.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
44a755f8ce
commit
6df1da3298
33 changed files with 913 additions and 181 deletions
|
@ -206,7 +206,7 @@ refcheck:
|
|||
|
||||
install:
|
||||
mkdir -p $(DESTDIR)/$(MANDIR)/man3 || exit
|
||||
cp *$(GZIP_SUFFIX) $(DESTDIR)/$(MANDIR)/man3 || exit
|
||||
cp -p *$(GZIP_SUFFIX) $(DESTDIR)/$(MANDIR)/man3 || exit
|
||||
|
||||
uninstall:
|
||||
for target in $(OBJECTS); do \
|
||||
|
|
|
@ -68,7 +68,7 @@ function(void)
|
|||
ck_stack_entry_t *s;
|
||||
|
||||
record = malloc(sizeof *record);
|
||||
ck_epoch_register(&epoch, record);
|
||||
ck_epoch_register(&epoch, record, NULL);
|
||||
|
||||
/*
|
||||
* We are using an epoch section here to guarantee no
|
||||
|
|
|
@ -89,7 +89,7 @@ function(void)
|
|||
struct object *n;
|
||||
|
||||
record = malloc(sizeof *record);
|
||||
ck_epoch_register(&epoch, record);
|
||||
ck_epoch_register(&epoch, record, NULL);
|
||||
|
||||
n = malloc(sizeof *n);
|
||||
if (n == NULL)
|
||||
|
|
|
@ -51,7 +51,7 @@ The behavior of
|
|||
is undefined if
|
||||
.Fa epoch
|
||||
is not a pointer to a
|
||||
.Tn ck_epoch_t
|
||||
.Vt ck_epoch_t
|
||||
object.
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
|
|
|
@ -64,7 +64,7 @@ function(void)
|
|||
if (record == NULL)
|
||||
return;
|
||||
|
||||
ck_epoch_register(&epoch, record);
|
||||
ck_epoch_register(&epoch, record, NULL);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -73,7 +73,7 @@ function(void)
|
|||
ck_stack_entry_t *s;
|
||||
|
||||
record = malloc(sizeof *record);
|
||||
ck_epoch_register(&epoch, record);
|
||||
ck_epoch_register(&epoch, record, NULL);
|
||||
|
||||
/*
|
||||
* We are using an epoch section here to guarantee no
|
||||
|
|
|
@ -143,7 +143,7 @@ The behavior of
|
|||
is undefined if
|
||||
.Fa hs
|
||||
is not a pointer to a
|
||||
.Tn ck_hs_t
|
||||
.Vt ck_hs_t
|
||||
object.
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
|
|
|
@ -68,7 +68,7 @@ NULL or (void *)UINTPTR_MAX will result in undefined behavior.
|
|||
.It CK_HT_MODE_DIRECT
|
||||
The hash table is meant to store key-value pointers where
|
||||
the key is of fixed width field compatible with the
|
||||
.Tn uintptr_t
|
||||
.Vt uintptr_t
|
||||
type. The key will be directly compared with other keys for
|
||||
equality. Entries of this hash table are expected to be interacted
|
||||
with using the
|
||||
|
@ -155,7 +155,7 @@ The behavior of
|
|||
is undefined if
|
||||
.Fa ht
|
||||
is not a pointer to a
|
||||
.Tn ck_ht_t
|
||||
.Vt ck_ht_t
|
||||
object.
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
|
|
|
@ -42,7 +42,7 @@ The
|
|||
.Fn ck_pr_fence_atomic_store
|
||||
function enforces the ordering of any
|
||||
atomic read-modify-write operations relative to
|
||||
any load operations following the function invocation. This function
|
||||
any store operations following the function invocation. This function
|
||||
always serve as an implicit compiler barrier. On
|
||||
architectures implementing CK_MD_TSO, this operation
|
||||
only serves as a compiler barrier and no fences
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
.Nm CK_LIST_ENTRY ,
|
||||
.Nm CK_LIST_FIRST ,
|
||||
.Nm CK_LIST_FOREACH ,
|
||||
.Nm CK_LIST_FOREACH_FROM ,
|
||||
.Nm CK_LIST_FOREACH_SAFE ,
|
||||
.Nm CK_LIST_HEAD ,
|
||||
.Nm CK_LIST_HEAD_INITIALIZER ,
|
||||
|
@ -46,6 +47,7 @@
|
|||
.Nm CK_SLIST_ENTRY ,
|
||||
.Nm CK_SLIST_FIRST ,
|
||||
.Nm CK_SLIST_FOREACH ,
|
||||
.Nm CK_SLIST_FOREACH_FROM ,
|
||||
.Nm CK_SLIST_FOREACH_PREVPTR ,
|
||||
.Nm CK_SLIST_FOREACH_SAFE ,
|
||||
.Nm CK_SLIST_HEAD ,
|
||||
|
@ -64,6 +66,7 @@
|
|||
.Nm CK_STAILQ_ENTRY ,
|
||||
.Nm CK_STAILQ_FIRST ,
|
||||
.Nm CK_STAILQ_FOREACH ,
|
||||
.Nm CK_STAILQ_FOREACH_FROM ,
|
||||
.Nm CK_STAILQ_FOREACH_SAFE ,
|
||||
.Nm CK_STAILQ_HEAD ,
|
||||
.Nm CK_STAILQ_HEAD_INITIALIZER ,
|
||||
|
@ -86,6 +89,7 @@ Concurrency Kit (libck, \-lck)
|
|||
.Fn CK_LIST_ENTRY
|
||||
.Fn CK_LIST_FIRST
|
||||
.Fn CK_LIST_FOREACH
|
||||
.Fn CK_LIST_FOREACH_FROM
|
||||
.Fn CK_LIST_FOREACH_SAFE
|
||||
.Fn CK_LIST_HEAD
|
||||
.Fn CK_LIST_HEAD_INITIALIZER
|
||||
|
@ -101,6 +105,7 @@ Concurrency Kit (libck, \-lck)
|
|||
.Fn CK_SLIST_ENTRY
|
||||
.Fn CK_SLIST_FIRST
|
||||
.Fn CK_SLIST_FOREACH
|
||||
.Fn CK_SLIST_FOREACH_FROM
|
||||
.Fn CK_SLIST_FOREACH_PREVPTR
|
||||
.Fn CK_SLIST_FOREACH_SAFE
|
||||
.Fn CK_SLIST_HEAD
|
||||
|
@ -119,6 +124,7 @@ Concurrency Kit (libck, \-lck)
|
|||
.Fn CK_STAILQ_ENTRY
|
||||
.Fn CK_STAILQ_FIRST
|
||||
.Fn CK_STAILQ_FOREACH
|
||||
.Fn CK_STAILQ_FOREACH_FROM
|
||||
.Fn CK_STAILQ_FOREACH_SAFE
|
||||
.Fn CK_STAILQ_HEAD
|
||||
.Fn CK_STAILQ_HEAD_INITIALIZER
|
||||
|
|
|
@ -140,7 +140,7 @@ The behavior of
|
|||
is undefined if
|
||||
.Fa hs
|
||||
is not a pointer to a
|
||||
.Tn ck_rhs_t
|
||||
.Vt ck_rhs_t
|
||||
object.
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue