projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LoongArch: Document that byte and short atomics are implemented with LL/SC
[userspace-rcu.git]
/
include
/
urcu
/
urcu-qsbr.h
diff --git
a/include/urcu/urcu-qsbr.h
b/include/urcu/urcu-qsbr.h
index 041db21beafa47deb490d1745b3663e7be762f6a..5c5a0304211683e1eda0b4a022690ff4bb7e535d 100644
(file)
--- a/
include/urcu/urcu-qsbr.h
+++ b/
include/urcu/urcu-qsbr.h
@@
-30,12
+30,16
@@
#include <stdlib.h>
#include <pthread.h>
#include <stdlib.h>
#include <pthread.h>
+#include <stdbool.h>
+
+#include <urcu/config.h>
/*
/*
- * See urcu
-pointer.h and urcu/static/urcu-
pointer.h for pointer
+ * See urcu
/pointer.h and urcu/static/
pointer.h for pointer
* publication headers.
*/
* publication headers.
*/
-#include <urcu-pointer.h>
+#include <urcu/pointer.h>
+#include <urcu/urcu-poll.h>
#ifdef __cplusplus
extern "C" {
#ifdef __cplusplus
extern "C" {
@@
-123,6
+127,12
@@
extern void urcu_qsbr_thread_online(void);
extern void urcu_qsbr_synchronize_rcu(void);
extern void urcu_qsbr_synchronize_rcu(void);
+/*
+ * RCU grace period polling API.
+ */
+extern struct urcu_gp_poll_state urcu_qsbr_start_poll_synchronize_rcu(void);
+extern bool urcu_qsbr_poll_state_synchronize_rcu(struct urcu_gp_poll_state state);
+
/*
* Reader thread registration.
*/
/*
* Reader thread registration.
*/
@@
-133,9
+143,9
@@
extern void urcu_qsbr_unregister_thread(void);
}
#endif
}
#endif
-#include <urcu
-
call-rcu.h>
-#include <urcu
-
defer.h>
-#include <urcu
-
flavor.h>
+#include <urcu
/
call-rcu.h>
+#include <urcu
/
defer.h>
+#include <urcu
/
flavor.h>
#ifndef URCU_API_MAP
#include <urcu/map/clear.h>
#ifndef URCU_API_MAP
#include <urcu/map/clear.h>
This page took
0.024182 seconds
and
4
git commands to generate.