GRPC Core  9.0.0
Data Fields
grpc_closure Struct Reference

A closure over a grpc_iomgr_cb_func. More...

#include <closure.h>

Data Fields

union {
   grpc_closure *   next
 
   grpc_core::ManualConstructor< grpc_core::MultiProducerSingleConsumerQueue::Node >   mpscq_node
 
   uintptr_t   scratch
 
next_data
 Once queued, next indicates the next queued closure; before then, scratch space. More...
 
grpc_iomgr_cb_func cb
 Bound callback. More...
 
void * cb_arg
 Arguments to be passed to "cb". More...
 
union {
   grpc_error *   error
 
   uintptr_t   scratch
 
error_data
 Once queued, the result of the closure. More...
 
bool scheduled
 
bool run
 
const char * file_created
 
int line_created
 
const char * file_initiated
 
int line_initiated
 

Detailed Description

A closure over a grpc_iomgr_cb_func.

Field Documentation

◆ cb

grpc_iomgr_cb_func grpc_closure::cb

Bound callback.

◆ cb_arg

void* grpc_closure::cb_arg

Arguments to be passed to "cb".

◆ error

grpc_error* grpc_closure::error

◆ 

union { ... } grpc_closure::error_data

Once queued, the result of the closure.

Before then: scratch space

◆ file_created

const char* grpc_closure::file_created

◆ file_initiated

const char* grpc_closure::file_initiated

◆ line_created

int grpc_closure::line_created

◆ line_initiated

int grpc_closure::line_initiated

◆ mpscq_node

◆ next

grpc_closure* grpc_closure::next

◆ 

union { ... } grpc_closure::next_data

Once queued, next indicates the next queued closure; before then, scratch space.

◆ run

bool grpc_closure::run

◆ scheduled

bool grpc_closure::scheduled

◆ scratch

uintptr_t grpc_closure::scratch

The documentation for this struct was generated from the following file: