7¤0ìD‚£	A°%0Ã0Ã0ÃÀ ›‘-[“½Ûnc“Fä&d'aÌPþñÕÐBú?þ¬: ßH“HZ¯j[ ‡V˜Ó  ³•à  @ž’œ–�J¥Q,ã8‚(ˆbb†a„�¢„p  Ôò¦ƒ™4�r¤BÈƒÌÌ€                              ä             ø                                         @            Ød@            €Ì                           �Ì                    õþÿo    ¨             ˜             (      
       ‡                           èÏ             à                           `             ˆ             Ø      	              þÿÿo    Ø      ÿÿÿo           ðÿÿo           ùÿÿo                                                                                                                        ûÿÿ    A†CT      Ü   ôÿÿ    A†CQ      ü   êÿÿm    A†Ch       7€ÿÿ}    A†Cx     <  ”€ÿÿí    A†Cè     \  a�ÿÿ1    A†Cl      |  r�ÿÿ"    A†C]      œ  t�ÿÿO    A†CJ     ¼  £�ÿÿ�    A†Cˆ     Ü  ‚ÿÿ_    A†CZ     ü  O‚ÿÿ*    A†Ce        Y‚ÿÿ�    A†C‹     <  É‚ÿÿ/    A†Cj      \  Ø‚ÿÿ‡   A†C‚    |  ?…ÿÿ8    A†Cs      œ  W…ÿÿC    A†C~      ¼  z…ÿÿ&    A†Ca   ic/wfcqueue.h !ret  ../include/urcu/static/wfstack.h node->next == ((void *)0) urcu-wait.h  __extension__ ({ _Static_assert(__atomic_always_lock_free(sizeof(*(&wait->state)), 0), "The architecture does not support atomic lock-free " "operations on this type."); __typeof__(*(&wait->state)) _value = __atomic_load_n(__extension__ ({ (volatile __typeof__(&wait->state))(&wait->state); }), cmm_to_c11(CMM_RELAXED)); cmm_seq_cst_fence_after_atomic(CMM_RELAXED); _value; }) == URCU_WAIT_WAITING   (urcu-wait.h:%s@%u) Unrecoverable error: %s
  ]ÃUH‰åH‰}ÈH‰uÀH‰U¸H‹E¸H‹UÀH‹MÈH‰MàH‰UèH‰EðÇEØ   ƒ}Øtqƒ}Øƒ}Øtƒ}Øt6é¥   ƒ}Øtxéš   H‹EèˆEÕH‹Eð‰ÆH‹MàŠEÕH‹Uàð@°1ˆEÕ¶EÕëyH‹Eèf‰EÖH‹Eð‰ÆH‹Màf‹EÖH‹Uàðf±1f‰EÖ·EÖëPH‹Eè‰EÜH‹Eð‰ÆH‹Mà‹EÜH‹Uàð±1‰EÜ‹EÜë,H‹EèH‰EøH‹uàH‹UðH‹EøH‹MàðH±H‰EøH‹Eøë¸    ]ÃUH‰å‰}üƒ}üu®ðë��]ÃUH‰å‰}üƒ}üu¸   ë‹Eü]ÃUH‰åHƒì@H‰}è‰uä‰UàH‰MØL‰EÐD‰MÌÇEô    Hƒ}Ø t%H�  H�5Ð  H�Ø  H‰Ñº2   H‰ÇèžÿÿHƒ}Ð t%H�Û  H�5¤  H�µ  H‰Ñº3   H‰Çèí�ÿÿƒ}Ì t%H�°  H�5y  H�’  H‰Ñº4   H‰ÇèÂ�ÿÿ®ðH‹L  H‰ÇèÐŸÿÿ‰Eøƒ}ø tè�ÿÿ‹Uø‰ÇEôÿÿÿÿé    ƒ}ä t$ƒ}ätEëTH‹ÜK  HHÐH‹ H…Àt!‹EäH˜H�Å    H‹EèHÐH‹ H‰ÇèÎ¼ÿÿë�ÿEä‹EäHcÐH‹o  H9Â|­H‹EèH‰Çèúºÿÿë�HƒÄ[]ÃUH‰åHƒì H‰}èH‹EèH‰EðH‹EðHƒèH‰EøH‹EøH‰ÇèÄºÿÿ�ÉÃUH‰åHƒìPH‰}¸H‹E¸H‰EÐH‹EÐH‰EØH‹EØH‹@H‰EàH‹EàH‰EèHÇEðÿÿÿÿÇEÈ   ƒ}È„�   ƒ}Èƒ}Ètƒ}ÈtAé¼   ƒ}È„ˆ   é­   H‹EðˆEÅH‹UèH‹MèŠEÅðÀˆEÅ¶UÅH‹Eð¶ÀÐH˜é…   H‹Eðf‰EÆH‹UèH‹Mèf‹EÆðfÁf‰EÆ·UÆH‹Eð·ÀÐH˜ëWH‹Eð‰EÌH‹UèH‹Mè‹EÌðÁ‰EÌH‹Eð‰Â‹EÌÐ‰Àë/H‹EðH‰EøH‹UèH‹MèH‹EøðHÁH‰EøH‹UðH‹EøHÐë¸    …ÀuH‹EàH‰ÇèèÿÿH‹EàHƒÀH�‘þÿÿH‰ÖH‰ÇèÜÿÿH‹EØH‰Çèj¹ÿÿ�ÉÃUH‰åHƒìPÇE°    è>Êÿÿ‰E´ƒ}´ tè“Òÿÿè+Êÿÿ…Àt<‹Fn  …Àu#H‹H‰}è®ðé„   H‹EèHƒÀA¹    A¸    ¹    ºÿÿÿÿ¾    H‰Çè–ßÿÿ…ÀtQè5Òÿÿ‹ ƒøtHƒøtsè$Òÿÿ‹ ‰Çè»ÔÿÿH‰ÁH‹)�  H‹ H�N  H�5øF  I‰È¹(  H‰Ç° èÓÿÿèÙÑÿÿ�ë�¿    èÆÕÿÿH‹EèHƒÀ‹ ‰Eü¿    è™Õÿÿ‹Eüƒøÿ„Oÿÿÿë�ÉÃUH‰åHƒì H‰}è®ð¿    è…ÕÿÿH‹EèHƒÀ‹ ‰Eü¿    èXÕÿÿ‹Eüƒøÿ”À¶ÀH…À„’   ¿    èOÕÿÿH‹EèHƒÀº    ‡¿    è ÕÿÿH‹EèHƒÀA¹    A¸    ¹    º   ¾   H‰ÇèxÞÿÿ…Ày@èÑÿÿ‹ ‰Çè®ÓÿÿH‰ÁH‹€  H‹ H�*M  H�5ëE  I‰È¹5  H‰Ç° èÒÿÿèÌÐÿÿ�ÉÃUH‰åH�ì  H‰½øþÿÿdH‹%(   H‰Eø1ÀH‹…øþÿÿH‰…@ÿÿÿ¿    è‹ÔÿÿH‹…@ÿÿÿHƒÀ8H‹ H‰…Hÿÿÿ¿    èVÔÿÿH‹…Hÿÿÿƒàƒà¶À‰… ÿÿÿH‹…@ÿÿÿH‰Çè¾úÿÿë,H‹Eø‰ÂH‹Eððf	ëH‹Eø‰ÂH‹Eðð	ëH‹EðH‹UøðH	�ÇEÔ    ë0¿    èZìÿÿH‹EÈHƒÀ‹ ‰Eà¿    è-ìÿÿ‹Eàƒà…Àuó�ÿEÔ�}Ôç  vÇë�ëº
   ¾    ¿    èêÿÿ¿   èìÿÿH‹EÈHƒÀ‹ ‰Eä¿   èÛëÿÿ‹Eäƒà…ÀtÁ¿    èÝëÿÿH‹EÈHƒÀ‹ ‰Eè¿    è°ëÿÿ‹Eèƒà…Àu%H�Šb  H�5¦W  H�lY  H‰Ñº¸   H‰ÇèLèÿÿ�ÉÃUH‰åHƒì@H‰}ÈH‹EÈH‹ H‰ÇèûÿÿH‰EàHƒ}à tH‹EàH‰Çè[ûÿÿH‰Eèë}HÇEè    ësH‹EàH‰EðH‹EðH‰Eø¿    è8ëÿÿH‹EøHƒÀ‹ ‰EÜ¿    èëÿÿ‹EÜƒà…ÀuH‹EøH‰Çè‹ûÿÿë�H‹EèH‰EàHƒ}à tH‹EàH‰ÇèæúÿÿH‰EèëHÇEè    Hƒ}à u†��ÉÃUH‰å�]ÃUH‰å�]ÃUH‰å�]ÃUH‰åHƒì H‰}èH‹EèH‰Çè|éÿÿ‰Eüƒ}ü t?‹Eü‰ÇèIéÿÿH‰ÁH‹·•  H‹ H�‹MèH‹Uèf‡f‰EÎ·EÎë4H‹EðH‹MèH‹Uè‡‰EÔ‹EÔëH‹MèH‹EðH‹UèH‡H‰EøH‹Eøë¸    H‰Eà¿   èþÿÿH‹U¨H‹EàH‡¿   èñýÿÿH‹EØH9Eà•ÀÉÃUH‰åHƒìH‰}øH‰uðH‰Uè®ðH‹MèH‹UèH‹uðH‹EøH‰ÇèäþÿÿÉÃUH‰åHƒì‰}ü‹Eü‰Â¾    ¿    è¯ûÿÿ�ÉÃUH‰åHƒìH‰}ø‰uôƒ}ô u°ë4H‹Eø‹ �PH‹Eø‰H‹Eø‹ ƒø	~¿
   è¡ÿÿÿH‹EøÇ     ëó�° ÉÃUH‰åHƒì0H‰}Ø‰uÔdH‹%(   H‰Eø1ÀÇEä    ë‹UÔH�Eä‰ÖH‰Çèyÿÿÿ„Àt	HÇÀÿÿÿÿë2¿   è	ýÿÿH‹EØH‹ H‰Eè¿   èÞüÿÿH‹EèH‰EðHƒ}ð t´H‹EðH‹UødH+%(   tèbùÿÿÉÃUH‰åHƒì0H‰}èH‰uà‰UÜH‹EèH‰EðH‹EðH‰Çè€üÿÿH‰ÂH‹EàH‰ÆH‰×è.ýÿÿ„Àt¸    ëH‹Eð‹UÜ‰ÖH‰ÇèÿÿÿH‰EøH‹EøÉÃUH‰åHƒìH‰}øH‰uðH‹Mmb_defer_register_thread urcu_memb_defer_unregister_thread urcu_memb_defer_exit rcu_dereference_sym rcu_set_pointer_sym rcu_xchg_pointer_sym rcu_cmpxchg_pointer_sym __urcu_compat_futex_lock __urcu_compat_futex_cond compat_futex_noasync pthread_cond_wait pthread_cond_broadcast liburcu-common.so.8 libc.so.6 ld-linux-x86-64.so.2 liburcu.so.8 GLIBC_2.3 GLIBC_2.6 GLIBC_2.34 GLIBC_2.32 GLIBC_2.3.4 GLIBC_2.4 GLIBC_2.3.2 GLIBC_2.2.5 GLIBC_2.38                                   	     
    	          )            I@     –      G    @`@     «       Æ     C@            ¼     :@            b    È@            ¸     €Ó             (    DY@     %       Õ                    ù    È:@     W      ;    –J@     Œ      °     U@     ?      \     a@     ø       õ    è @            |    V=@     !           Ú_@     .       N    œM@     k       ¦    @b@     {          Â?@     <           @<@     �       Ÿ    €=@     I          ÀÌ      €       ½    P_@     M       `ic_sub(type *addr, type v);
```

Atomically increment/decrement the content of `addr` by `v`.
These operations do not necessarily imply memory barriers.
If memory barriers are needed, they may be provided by
explicitly using `cmm_smp_mb__before_uatomic_add()`,
`cmm_smp_mb__after_uatomic_add()`, `cmm_smp_mb__before_uatomic_sub()`, and
`cmm_smp_mb__after_uatomic_sub()`. These explicit barriers are
no-ops on architectures in which the underlying atomic
instructions implicitly supply the needed memory barriers.


```c
void uatomic_inc(r-debug`

By default the library is configured with extra debugging checks for
lock-free hash table iterator traversal disabled.

Building liburcu with `--enable-cds-lfht-iter-debug` and rebuilding
application to match the ABI change allows finding cases where the hash
table iterator is re-purposed to be used on a different hash table while
still being used to iterate on a hash table.

This option alters the rculfhash ABI. Make sure to compile both library
and application with matching configuration.

### Usage of `--enable-compilelavor>_defer_rcu()`.
  - Provides `urcu_<flavor>_call_rcu()` to allow asynchronous handling
    of RCU grace periods.  A number of additional functions are provided
    to manage the helper threads used by `urcu_<flavor>_call_rcu()`, but
    reasonable defaults are used if these additional functions are not
    invoked. See [`doc/rcu-api.md`](doc/rcu-api.md) in userspace-rcu
    documentation for more details.


### Being careful with signals

Read-side critical sections are allowed in a signal handler,
except those setup with `sig start with the prefix `urcu_<flavor>_`, where
`<flavor>` is the chosen flavor name.


### Usage of `liburcu-memb`

  1. `#include <urcu/urcu-memb.h>`
  2. Link the application with `-lurcu-memb`

This is the preferred version of the library, in terms of
grace-period detection speed, read-side speed and flexibility.
Dynamically detects kernel support for `sys_membarrier()`. Falls back
on `urcu-mb` scheme if support is not present, which has slower
read-side. Use the `--disable-sys-membarrier-fallback` configure option
to disable thby calling
	 * synchronize_rcu() rather than using call_rcu(). It is usually
	 * a slower approach than call_rcu(), because the latter can
	 * batch work. Moreover, call_rcu() can be called from a RCU
	 * read-side critical section, but synchronize_rcu() ensures the
	 * caller thread is offline, thus acting as a quiescent state.
	 */
	urcu_qsbr_synchronize_rcu();

	/*
	 * Waiting for previously called call_rcu handlers to complete
	 * before program exits, or in library destructors, is a good
	 * practice.
	 */
	urcu_qsbr_barrier()or.
 *
 * This is a mock-up example where updates and RCU traversals are
 * performed by the same thread to keep things simple on purpose.
 */

static CDS_LIST_HEAD(mylist);

struct mynode {
	uint64_t value;
	struct cds_list_head node;	/* linked-list chaining */
	struct rcu_head rcu_head;	/* for call_rcu() */
};

static
int add_node(uint64_t v)
{
	struct mynode *node;

	node = calloc(1, sizeof(*node));
	if (!node)
		return -1;
	node->value = v;
	cds_list_add_rcu(&node->node, &mylist);
	return 0;
}

static
void rcu_free_node(struct each node from the queue. Those will be dequeued from
	 * the oldest (first enqueued) to the newest (last enqueued).
	 */
	printf("dequeued content:");
	for (;;) {
		struct cds_wfcq_node *qnode;
		struct mynode *node;

		qnode = cds_wfcq_dequeue_blocking(&myqueue_head, &myqueue_tail);
		if (!qnode) {
			break;	/* Queue is empty. */
		}
		/* Getting the container structure from the node */
		node = caa_container_of(qnode, struct mynode, node);
		printf(" %d", node->value);
		free(node);
	}
	printf("\n");
end:
	cds_wfcq_destroy(&myqu{
			printf("Add (key: %d, seqnum: %d)\n",
				node->value, node->seqnum);
		}
		urcu_memb_read_unlock();
	}

	/*
	 * Iterate over each hash table node. Those will appear in
	 * random order, depending on the hash seed. Iteration needs to
	 * be performed within RCU read-side critical section.
	 */
	printf("hash table content (random order):");
	urcu_memb_read_lock();
	cds_lfht_for_each_entry(ht, &iter, node, node) {
		printf(" (key: %d, seqnum: %d)",
			node->value, node->seqnum);
	}
	urcu_memb_read_unlock();
	printf("\n");

end:
_wfs_node node;	/* Chaining in stack */
};

int main(void)
{
	int values[] = { -5, 42, 36, 24, };
	struct cds_wfs_stack mystack;	/* Stack */
	unsigned int i;
	int ret = 0;
	struct cds_wfs_node *snode;
	struct cds_wfs_head *shead;

	cds_wfs_init(&mystack);

	/*
	 * Push nodes.
	 */
	for (i = 0; i < CAA_ARRAY_SIZE(values); i++) {
		struct mynode *node;

		node = malloc(sizeof(*node));
		if (!node) {
			ret = -1;
			goto end;
		}

		cds_wfs_node_init(&node->node);
		node->value = values[i];
		cds_wfs_push(&mystack, &node->node);
	}

	t mixing */
		while (length > 12)
		{
			a += k[0] + (((uint32_t) k[1])<<16);
			b += k[2] + (((uint32_t) k[3])<<16);
			c += k[4] + (((uint32_t) k[5])<<16);
			mix(a, b, c);
			length -= 12;
			k += 6;
		}

		/*----------------------------- handle the last (probably partial) block */
		k8 = (const uint8_t *) k;
		switch(length)
		{
		case 12: c+=k[4]+(((uint32_t) k[5])<<16);
			 b+=k[2]+(((uint32_t) k[3])<<16);
			 a+=k[0]+(((uint32_t) k[1])<<16);
			 break;
		case 11: c+=((uint32_t) k8[10])<<16;	/* fall through */
		case 10: c+=klist.
	 */
	printf("mylist content:");
	cds_list_for_each_entry(node, &mylist, node) {
		printf(" %d", node->value);
	}
	printf("\n");
end:
	return ret;
}
# SPDX-FileCopyrightText: 2013 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
#
# SPDX-License-Identifier: MIT

# This makefile is purposefully kept simple to support GNU and BSD make.

EXAMPLE_NAME = cds_lfht_lookup

SOURCES = $(EXAMPLE_NAME).c
DEPS = jhash.h
OBJECTS = $(EXAMPLE_NAME).o
BINARY = $(EXAMPLE_NAME)
LIBS = -lurcu-cds -lurcu

include ../Makefile.examples.template
node(&iter);
		if (!ht_node) {
			printf("Key %d not found\n", value);
		} else {
			node = caa_container_of(ht_node, struct mynode, node);
			printf("(key %d, seqnum %d) found\n",
				node->value, node->seqnum);
		}
		urcu_memb_read_unlock();
	}

end:
	urcu_memb_unregister_thread();
	return ret;
}
# SPDX-FileCopyrightText: 2013 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
#
# SPDX-License-Identifier: MIT

# This makefile is purposefully kept simple to support GNU and BSD make.

all:
	$(AM_V_at)$(MAKE) -f Makefile.qsbr
	$(AM_ caa_container_of(rh, struct mynode, rcu_head);

	free(node);
}

int main(void)
{
	uint64_t values[] = { 42, 36, 24, };
	unsigned int i;
	int ret;
	struct mynode *node, *n;

	/*
	 * Each thread need using RCU read-side need to be explicitly
	 * registered.
	 */
	urcu_memb_register_thread();

	/*
	 * Adding nodes to the linked-list. Safe against concurrent
	 * RCU traversals, require mutual exclusion with list updates.
	 */
	for (i = 0; i < CAA_ARRAY_SIZE(values); i++) {
		ret = add_node(values[i]);
		if (ret)
			goto end;
	}

	/*
	/ SPDX-FileCopyrightText: 2013 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
//
// SPDX-License-Identifier: MIT

/*
 * This example shows how to do a RCU linked list traversal, safely
 * against concurrent RCU updates.
 */

#include <stdio.h>

#include <urcu/urcu-memb.h>	/* Userspace RCU flavor */
#include <urcu/rculist.h>	/* RCU list */
#include <urcu/compiler.h>	/* For CAA_ARRAY_SIZE */

/*
 * Nodes populated into the list.
 */
struct mynode {
	int value;			/* Node content */
	struct cds_list_head node;	/* Linked-list chaini