Classes | Typedefs | Functions | Variables
rb_event_thread.c File Reference
#include <ruby/ruby.h>
#include "rb_event_thread.h"
#include <ruby/thread.h>
#include <stdbool.h>
#include "rb_grpc.h"
#include "rb_grpc_imports.generated.h"
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/sync.h>
#include <grpc/support/time.h>
Include dependency graph for rb_event_thread.c:

Go to the source code of this file.

Classes

struct  grpc_rb_event
 
struct  grpc_rb_event_queue
 

Typedefs

typedef struct grpc_rb_event grpc_rb_event
 
typedef struct grpc_rb_event_queue grpc_rb_event_queue
 

Functions

static grpc_rb_eventgrpc_rb_event_queue_dequeue ()
 
static void grpc_rb_event_queue_destroy ()
 
void grpc_rb_event_queue_enqueue (void(*callback)(void *), void *argument)
 
void grpc_rb_event_queue_thread_start ()
 
static VALUE grpc_rb_event_thread (VALUE arg)
 
static void grpc_rb_event_unblocking_func (void *arg)
 
static void * grpc_rb_wait_for_event_no_gil (void *param)
 

Variables

static grpc_rb_event_queue event_queue
 

Typedef Documentation

◆ grpc_rb_event

typedef struct grpc_rb_event grpc_rb_event

◆ grpc_rb_event_queue

Function Documentation

◆ grpc_rb_event_queue_dequeue()

static grpc_rb_event* grpc_rb_event_queue_dequeue ( )
static

Definition at line 71 of file rb_event_thread.c.

◆ grpc_rb_event_queue_destroy()

static void grpc_rb_event_queue_destroy ( )
static

Definition at line 86 of file rb_event_thread.c.

◆ grpc_rb_event_queue_enqueue()

void grpc_rb_event_queue_enqueue ( void(*)(void *)  callback,
void *  argument 
)

Definition at line 55 of file rb_event_thread.c.

◆ grpc_rb_event_queue_thread_start()

void grpc_rb_event_queue_thread_start ( )

Definition at line 138 of file rb_event_thread.c.

◆ grpc_rb_event_thread()

static VALUE grpc_rb_event_thread ( VALUE  arg)
static

Definition at line 117 of file rb_event_thread.c.

◆ grpc_rb_event_unblocking_func()

static void grpc_rb_event_unblocking_func ( void *  arg)
static

Definition at line 107 of file rb_event_thread.c.

◆ grpc_rb_wait_for_event_no_gil()

static void* grpc_rb_wait_for_event_no_gil ( void *  param)
static

Definition at line 91 of file rb_event_thread.c.

Variable Documentation

◆ event_queue

grpc_rb_event_queue event_queue
static

Definition at line 53 of file rb_event_thread.c.



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