diff options
author | Maria Matejka <mq@ucw.cz> | 2021-11-12 22:58:40 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-08-02 10:00:21 +0200 |
commit | 058ed711397df75350d905fc135758a6470c0143 (patch) | |
tree | cb779bc2414645de59b2d80f9b08bbe58772f8d1 /lib/io-loop.h | |
parent | f1d6c66a78758449f00ed709891e24ab3571cc9c (diff) |
Introducing basic RCU primitives for lock-less shared data structures
Diffstat (limited to 'lib/io-loop.h')
-rw-r--r-- | lib/io-loop.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/io-loop.h b/lib/io-loop.h index dec7d040..2450a609 100644 --- a/lib/io-loop.h +++ b/lib/io-loop.h @@ -51,4 +51,8 @@ void birdloop_unlink(struct birdloop *loop); void birdloop_ping(struct birdloop *loop); void birdloop_init(void); + +/* Yield for a little while. Use only in special cases. */ +void birdloop_yield(void); + #endif /* _BIRD_IO_LOOP_H_ */ |