#include <grpc/support/port_platform.h>
#include "src/core/lib/iomgr/iomgr_internal.h"
#include <stddef.h>
Go to the source code of this file.
Variables | |
static grpc_iomgr_platform_vtable * | iomgr_platform_vtable = nullptr |
bool grpc_have_determined_iomgr_platform | ( | ) |
Definition at line 27 of file iomgr_internal.cc.
bool grpc_iomgr_platform_add_closure_to_background_poller | ( | grpc_closure * | closure, |
grpc_error_handle | error | ||
) |
Return true if the closure is registered into the background poller. Note that the closure may or may not run yet when this function returns, and the closure should not be blocking or long-running.
Definition at line 49 of file iomgr_internal.cc.
void grpc_iomgr_platform_flush | ( | void | ) |
flush any globally queued work from iomgr
Definition at line 37 of file iomgr_internal.cc.
void grpc_iomgr_platform_init | ( | ) |
Definition at line 35 of file iomgr_internal.cc.
bool grpc_iomgr_platform_is_any_background_poller_thread | ( | void | ) |
return true if the caller is a worker thread for any background poller
Definition at line 45 of file iomgr_internal.cc.
void grpc_iomgr_platform_shutdown | ( | void | ) |
tear down all platform specific global iomgr structures
Definition at line 39 of file iomgr_internal.cc.
void grpc_iomgr_platform_shutdown_background_closure | ( | void | ) |
shut down all the closures registered in the background poller
Definition at line 41 of file iomgr_internal.cc.
void grpc_set_iomgr_platform_vtable | ( | grpc_iomgr_platform_vtable * | vtable | ) |
Definition at line 31 of file iomgr_internal.cc.
|
static |
Definition at line 25 of file iomgr_internal.cc.