X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu-defer.h;fp=urcu-defer.h;h=5f7498756649c6474d2b884a9992a3e0501305ae;hp=75b600568bc7a2df852cb246e1a300732c6989b8;hb=3614f13cba39ebc3b12e2656c75e1b41e4d76873;hpb=83dd659a88275ec009113aba20c98b7d0b61109f diff --git a/urcu-defer.h b/urcu-defer.h index 75b6005..5f74987 100644 --- a/urcu-defer.h +++ b/urcu-defer.h @@ -33,6 +33,9 @@ #include /* + * Note: the defer_rcu() API is currently EXPERIMENTAL. It may change in the + * future. + * * Important ! * * Each thread queuing memory reclamation must be registered with @@ -43,10 +46,7 @@ * primitive need to call synchronize_rcu() if the thread queue is full. */ -#define defer_rcu(fct, p) defer_rcu_ratelimit(fct, p, NULL) - -extern void defer_rcu_ratelimit(void (*fct)(void *p), void *p, - int (*rl)(void *p)); +extern void defer_rcu(void (*fct)(void *p), void *p); /* * Thread registration for reclamation.