Functions | Variables
iomgr_internal.cc File Reference
#include <grpc/support/port_platform.h>
#include "src/core/lib/iomgr/iomgr_internal.h"
#include <stddef.h>
Include dependency graph for iomgr_internal.cc:

Go to the source code of this file.

Functions

bool grpc_have_determined_iomgr_platform ()
 
bool grpc_iomgr_platform_add_closure_to_background_poller (grpc_closure *closure, grpc_error_handle error)
 
void grpc_iomgr_platform_flush ()
 
void grpc_iomgr_platform_init ()
 
bool grpc_iomgr_platform_is_any_background_poller_thread ()
 
void grpc_iomgr_platform_shutdown ()
 
void grpc_iomgr_platform_shutdown_background_closure ()
 
void grpc_set_iomgr_platform_vtable (grpc_iomgr_platform_vtable *vtable)
 

Variables

static grpc_iomgr_platform_vtableiomgr_platform_vtable = nullptr
 

Function Documentation

◆ grpc_have_determined_iomgr_platform()

bool grpc_have_determined_iomgr_platform ( )

Definition at line 27 of file iomgr_internal.cc.

◆ 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.

Definition at line 49 of file iomgr_internal.cc.

◆ grpc_iomgr_platform_flush()

void grpc_iomgr_platform_flush ( void  )

flush any globally queued work from iomgr

Definition at line 37 of file iomgr_internal.cc.

◆ grpc_iomgr_platform_init()

void grpc_iomgr_platform_init ( )

Definition at line 35 of file iomgr_internal.cc.

◆ 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

Definition at line 45 of file iomgr_internal.cc.

◆ grpc_iomgr_platform_shutdown()

void grpc_iomgr_platform_shutdown ( void  )

tear down all platform specific global iomgr structures

Definition at line 39 of file iomgr_internal.cc.

◆ grpc_iomgr_platform_shutdown_background_closure()

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.

◆ grpc_set_iomgr_platform_vtable()

void grpc_set_iomgr_platform_vtable ( grpc_iomgr_platform_vtable vtable)

Definition at line 31 of file iomgr_internal.cc.

Variable Documentation

◆ iomgr_platform_vtable

grpc_iomgr_platform_vtable* iomgr_platform_vtable = nullptr
static

Definition at line 25 of file iomgr_internal.cc.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:21