Loading include/spdk/event.h +1 −7 Original line number Diff line number Diff line Loading @@ -86,13 +86,7 @@ typedef void (*spdk_event_fn)(void *arg1, void *arg2); /** * \brief An event is a function that is passed to and called on an lcore. */ struct spdk_event { uint32_t lcore; spdk_event_fn fn; void *arg1; void *arg2; struct spdk_event *next; }; struct spdk_event; typedef void (*spdk_poller_fn)(void *arg); Loading include/spdk_internal/event.h +8 −0 Original line number Diff line number Diff line Loading @@ -38,6 +38,14 @@ #include "spdk/event.h" struct spdk_event { uint32_t lcore; spdk_event_fn fn; void *arg1; void *arg2; struct spdk_event *next; }; int spdk_reactors_init(const char *mask, unsigned int max_delay_us); int spdk_reactors_fini(void); Loading Loading
include/spdk/event.h +1 −7 Original line number Diff line number Diff line Loading @@ -86,13 +86,7 @@ typedef void (*spdk_event_fn)(void *arg1, void *arg2); /** * \brief An event is a function that is passed to and called on an lcore. */ struct spdk_event { uint32_t lcore; spdk_event_fn fn; void *arg1; void *arg2; struct spdk_event *next; }; struct spdk_event; typedef void (*spdk_poller_fn)(void *arg); Loading
include/spdk_internal/event.h +8 −0 Original line number Diff line number Diff line Loading @@ -38,6 +38,14 @@ #include "spdk/event.h" struct spdk_event { uint32_t lcore; spdk_event_fn fn; void *arg1; void *arg2; struct spdk_event *next; }; int spdk_reactors_init(const char *mask, unsigned int max_delay_us); int spdk_reactors_fini(void); Loading