GRPC Core
9.0.0
|
#include <grpc/support/port_platform.h>
#include <stddef.h>
#include "src/core/lib/iomgr/iomgr_internal.h"
#include "src/core/lib/iomgr/timer.h"
#include "src/core/lib/iomgr/timer_manager.h"
Functions | |
void | grpc_set_iomgr_platform_vtable (grpc_iomgr_platform_vtable *vtable) |
void | grpc_determine_iomgr_platform () |
void | grpc_iomgr_platform_init () |
void | grpc_iomgr_platform_flush () |
flush any globally queued work from iomgr More... | |
void | grpc_iomgr_platform_shutdown () |
tear down all platform specific global iomgr structures More... | |
void | grpc_iomgr_platform_shutdown_background_closure () |
shut down all the closures registered in the background poller More... | |
bool | grpc_iomgr_platform_is_any_background_poller_thread () |
return true if the caller is a worker thread for any background poller More... | |
bool | grpc_iomgr_platform_add_closure_to_background_poller (grpc_closure *closure, grpc_error *error) |
Return true if the closure is registered into the background poller. More... | |
void grpc_determine_iomgr_platform | ( | ) |
bool grpc_iomgr_platform_add_closure_to_background_poller | ( | grpc_closure * | closure, |
grpc_error * | 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.
void grpc_iomgr_platform_flush | ( | void | ) |
flush any globally queued work from iomgr
void grpc_iomgr_platform_init | ( | void | ) |
bool grpc_iomgr_platform_is_any_background_poller_thread | ( | void | ) |
return true if the caller is a worker thread for any background poller
void grpc_iomgr_platform_shutdown | ( | void | ) |
tear down all platform specific global iomgr structures
void grpc_iomgr_platform_shutdown_background_closure | ( | void | ) |
shut down all the closures registered in the background poller
void grpc_set_iomgr_platform_vtable | ( | grpc_iomgr_platform_vtable * | vtable | ) |