Public Attributes | List of all members
grpc_closure Struct Reference

#include <closure.h>

Inheritance diagram for grpc_closure:
Inheritance graph
[legend]

Public Attributes

grpc_iomgr_cb_func cb
 
void * cb_arg
 
union {
   uintptr_t   error
 
   uintptr_t   scratch
 
error_data
 
const char * file_created
 
const char * file_initiated
 
int line_created
 
int line_initiated
 
union {
   grpc_core::ManualConstructor< grpc_core::MultiProducerSingleConsumerQueue::Node >   mpscq_node
 
   grpc_closure *   next
 
   uintptr_t   scratch
 
next_data
 
bool run
 
bool scheduled
 

Detailed Description

A closure over a grpc_iomgr_cb_func.

Definition at line 56 of file closure.h.

Member Data Documentation

◆ cb

grpc_iomgr_cb_func grpc_closure::cb

Bound callback.

Definition at line 68 of file closure.h.

◆ cb_arg

void* grpc_closure::cb_arg

Arguments to be passed to "cb".

Definition at line 71 of file closure.h.

◆ error

uintptr_t grpc_closure::error

Definition at line 75 of file closure.h.

◆ error_data

union { ... } grpc_closure::error_data

Once queued, the result of the closure. Before then: scratch space

◆ file_created

const char* grpc_closure::file_created

Definition at line 84 of file closure.h.

◆ file_initiated

const char* grpc_closure::file_initiated

Definition at line 86 of file closure.h.

◆ line_created

int grpc_closure::line_created

Definition at line 85 of file closure.h.

◆ line_initiated

int grpc_closure::line_initiated

Definition at line 87 of file closure.h.

◆ mpscq_node

Definition at line 63 of file closure.h.

◆ next

grpc_closure* grpc_closure::next

Definition at line 60 of file closure.h.

◆ next_data

union { ... } grpc_closure::next_data

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

◆ run

bool grpc_closure::run

Definition at line 83 of file closure.h.

◆ scheduled

bool grpc_closure::scheduled

Definition at line 82 of file closure.h.

◆ scratch

uintptr_t grpc_closure::scratch

Definition at line 64 of file closure.h.


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


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