Classes | Typedefs | Functions
iomgr_internal.h File Reference
#include <grpc/support/port_platform.h>
#include <stdbool.h>
#include "src/core/lib/iomgr/closure.h"
#include "src/core/lib/iomgr/error.h"
Include dependency graph for iomgr_internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  grpc_iomgr_object
 
struct  grpc_iomgr_platform_vtable
 

Typedefs

typedef struct grpc_iomgr_object grpc_iomgr_object
 
typedef struct grpc_iomgr_platform_vtable grpc_iomgr_platform_vtable
 

Functions

bool grpc_have_determined_iomgr_platform ()
 
bool grpc_iomgr_abort_on_leaks (void)
 
bool grpc_iomgr_platform_add_closure_to_background_poller (grpc_closure *closure, grpc_error_handle error)
 
void grpc_iomgr_platform_flush (void)
 
void grpc_iomgr_platform_init (void)
 
bool grpc_iomgr_platform_is_any_background_poller_thread (void)
 
void grpc_iomgr_platform_shutdown (void)
 
void grpc_iomgr_platform_shutdown_background_closure (void)
 
void grpc_iomgr_register_object (grpc_iomgr_object *obj, const char *name)
 
void grpc_iomgr_unregister_object (grpc_iomgr_object *obj)
 
void grpc_set_default_iomgr_platform ()
 
void grpc_set_iomgr_platform_vtable (grpc_iomgr_platform_vtable *vtable)
 

Typedef Documentation

◆ grpc_iomgr_object

◆ grpc_iomgr_platform_vtable

Function Documentation

◆ grpc_have_determined_iomgr_platform()

bool grpc_have_determined_iomgr_platform ( )

Definition at line 27 of file iomgr_internal.cc.

◆ grpc_iomgr_abort_on_leaks()

bool grpc_iomgr_abort_on_leaks ( void  )

Definition at line 202 of file iomgr.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 ( void  )

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_iomgr_register_object()

void grpc_iomgr_register_object ( grpc_iomgr_object obj,
const char *  name 
)

Definition at line 184 of file iomgr.cc.

◆ grpc_iomgr_unregister_object()

void grpc_iomgr_unregister_object ( grpc_iomgr_object obj)

Definition at line 193 of file iomgr.cc.

◆ grpc_set_default_iomgr_platform()

void grpc_set_default_iomgr_platform ( )

Definition at line 167 of file memory_quota_test.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.



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