NDN-DPDK
High-Speed Named Data Networking Forwarder
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
spdk-thread.h
Go to the documentation of this file.
1 #ifndef NDNDPDK_DPDK_SPDK_THREAD_H
2 #define NDNDPDK_DPDK_SPDK_THREAD_H
3 
6 #include "thread.h"
7 #include <spdk/thread.h>
8 
9 typedef struct SpdkThread {
11  struct spdk_thread* spdkTh;
13 
15 __attribute__((nonnull)) int
17 
19 __attribute__((nonnull)) int
21 
22 #endif // NDNDPDK_DPDK_SPDK_THREAD_H
int SpdkThread_Exit(SpdkThread *th)
Request SPDK thread to exit and wait until exit.
Definition: spdk-thread.c:25
int SpdkThread_Run(SpdkThread *th)
Run SPDK thread until stop requested.
Definition: spdk-thread.c:5
struct SpdkThread SpdkThread
Definition: spdk-thread.h:9
struct spdk_thread * spdkTh
Definition: spdk-thread.h:11
ThreadCtrl ctrl
Definition: spdk-thread.h:10
Thread load stats and stop flag.
Definition: thread.h:10