NDN-DPDK
High-Speed Named Data Networking Forwarder
Loading...
Searching...
No Matches
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
5
6#include "thread.h"
7#include <spdk/thread.h>
8
9typedef 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
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