GRPC Core  18.0.0
Functions
iomgr_internal.cc File Reference
#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_handle error)
 Return true if the closure is registered into the background poller. More...
 

Function Documentation

◆ grpc_determine_iomgr_platform()

void grpc_determine_iomgr_platform ( )

◆ grpc_iomgr_platform_add_closure_to_background_poller()

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.

◆ grpc_iomgr_platform_flush()

void grpc_iomgr_platform_flush ( void  )

flush any globally queued work from iomgr

◆ grpc_iomgr_platform_init()

void grpc_iomgr_platform_init ( void  )

◆ grpc_iomgr_platform_is_any_background_poller_thread()

bool grpc_iomgr_platform_is_any_background_poller_thread ( void  )

return true if the caller is a worker thread for any background poller

◆ grpc_iomgr_platform_shutdown()

void grpc_iomgr_platform_shutdown ( void  )

tear down all platform specific global iomgr structures

◆ grpc_iomgr_platform_shutdown_background_closure()

void grpc_iomgr_platform_shutdown_background_closure ( void  )

shut down all the closures registered in the background poller

◆ grpc_set_iomgr_platform_vtable()

void grpc_set_iomgr_platform_vtable ( grpc_iomgr_platform_vtable vtable)