diff options
| author | Dinesh Dutt <5016467+ddutt@users.noreply.github.com> | 2019-08-12 06:19:54 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-12 06:19:54 -0700 |
| commit | 642b081be34f151a6d1bf7bf5c1586bc8561702c (patch) | |
| tree | e0705cd29d73db5e3df71a57d03ec350af936905 /lib/frr_pthread.h | |
| parent | dcc1615e1b5f8f439f01fd9e61845f377d28a07a (diff) | |
| parent | 595ad74b772ef1e32a1c238e6bc8ae7eb447cd27 (diff) | |
Merge pull request #1 from FRRouting/master
Merging from upstream tree
Diffstat (limited to 'lib/frr_pthread.h')
| -rw-r--r-- | lib/frr_pthread.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/frr_pthread.h b/lib/frr_pthread.h index 3afe7ba966..6096a50370 100644 --- a/lib/frr_pthread.h +++ b/lib/frr_pthread.h @@ -23,6 +23,7 @@ #include <pthread.h> #include "frratomic.h" #include "memory.h" +#include "frrcu.h" #include "thread.h" #ifdef __cplusplus @@ -50,6 +51,8 @@ struct frr_pthread { /* pthread id */ pthread_t thread; + struct rcu_thread *rcu_thread; + /* thread master for this pthread's thread.c event loop */ struct thread_master *master; |
