Go to the source code of this file.
|
static bg_watched_channel * | bg_watched_channel_list_create_and_add (grpc_channel *channel) |
|
static void | bg_watched_channel_list_free_and_remove (bg_watched_channel *bg) |
|
static int | bg_watched_channel_list_lookup (bg_watched_channel *bg) |
|
static void * | channel_init_try_register_connection_polling_without_gil (void *arg) |
|
static void * | channel_safe_destroy_without_gil (void *arg) |
|
static void * | get_state_without_gil (void *arg) |
|
static VALUE | grpc_rb_channel_alloc (VALUE cls) |
|
static VALUE | grpc_rb_channel_create_call (VALUE self, VALUE parent, VALUE mask, VALUE method, VALUE host, VALUE deadline) |
|
static VALUE | grpc_rb_channel_destroy (VALUE self) |
|
static void | grpc_rb_channel_free (void *p) |
|
static void | grpc_rb_channel_free_internal (void *p) |
|
static VALUE | grpc_rb_channel_get_connectivity_state (int argc, VALUE *argv, VALUE self) |
|
static VALUE | grpc_rb_channel_get_target (VALUE self) |
|
static VALUE | grpc_rb_channel_init (int argc, VALUE *argv, VALUE self) |
|
static void | grpc_rb_channel_mark (void *p) |
|
void | grpc_rb_channel_polling_thread_start () |
|
static void | grpc_rb_channel_safe_destroy (bg_watched_channel *bg) |
|
static void | grpc_rb_channel_try_register_connection_polling (bg_watched_channel *bg) |
|
static void | grpc_rb_channel_watch_connection_state_op_complete (watch_state_op *op, int success) |
|
static VALUE | grpc_rb_channel_watch_connectivity_state (VALUE self, VALUE last_state, VALUE deadline) |
|
grpc_channel * | grpc_rb_get_wrapped_channel (VALUE v) |
|
void | Init_grpc_channel () |
|
static void | Init_grpc_connectivity_states () |
|
static void | Init_grpc_propagate_masks () |
|
static VALUE | run_poll_channels_loop (VALUE arg) |
|
static void * | run_poll_channels_loop_no_gil (void *arg) |
|
static void | run_poll_channels_loop_unblocking_func (void *arg) |
|
static void * | set_abort_channel_polling_without_gil (void *arg) |
|
static void | wait_for_watch_state_op_complete_unblocking_func (void *arg) |
|
static void * | wait_for_watch_state_op_complete_without_gvl (void *arg) |
|
static void * | wait_until_channel_polling_thread_started_no_gil (void *) |
|
static void | wait_until_channel_polling_thread_started_unblocking_func (void *) |
|
◆ bg_watched_channel
◆ channel_init_try_register_stack
◆ get_state_stack
◆ grpc_rb_channel
◆ watch_state_op
◆ watch_state_stack
◆ watch_state_op_type
Enumerator |
---|
CONTINUOUS_WATCH | |
WATCH_STATE_API | |
Definition at line 76 of file rb_channel.c.
◆ bg_watched_channel_list_create_and_add()
◆ bg_watched_channel_list_free_and_remove()
◆ bg_watched_channel_list_lookup()
◆ channel_init_try_register_connection_polling_without_gil()
static void * channel_init_try_register_connection_polling_without_gil |
( |
void * |
arg | ) |
|
|
static |
◆ channel_safe_destroy_without_gil()
static void* channel_safe_destroy_without_gil |
( |
void * |
arg | ) |
|
|
static |
◆ get_state_without_gil()
static void* get_state_without_gil |
( |
void * |
arg | ) |
|
|
static |
◆ grpc_rb_channel_alloc()
static VALUE grpc_rb_channel_alloc |
( |
VALUE |
cls | ) |
|
|
static |
◆ grpc_rb_channel_create_call()
static VALUE grpc_rb_channel_create_call |
( |
VALUE |
self, |
|
|
VALUE |
parent, |
|
|
VALUE |
mask, |
|
|
VALUE |
method, |
|
|
VALUE |
host, |
|
|
VALUE |
deadline |
|
) |
| |
|
static |
◆ grpc_rb_channel_destroy()
static VALUE grpc_rb_channel_destroy |
( |
VALUE |
self | ) |
|
|
static |
◆ grpc_rb_channel_free()
static void grpc_rb_channel_free |
( |
void * |
p | ) |
|
|
static |
◆ grpc_rb_channel_free_internal()
static void grpc_rb_channel_free_internal |
( |
void * |
p | ) |
|
|
static |
◆ grpc_rb_channel_get_connectivity_state()
static VALUE grpc_rb_channel_get_connectivity_state |
( |
int |
argc, |
|
|
VALUE * |
argv, |
|
|
VALUE |
self |
|
) |
| |
|
static |
◆ grpc_rb_channel_get_target()
static VALUE grpc_rb_channel_get_target |
( |
VALUE |
self | ) |
|
|
static |
◆ grpc_rb_channel_init()
static VALUE grpc_rb_channel_init |
( |
int |
argc, |
|
|
VALUE * |
argv, |
|
|
VALUE |
self |
|
) |
| |
|
static |
◆ grpc_rb_channel_mark()
static void grpc_rb_channel_mark |
( |
void * |
p | ) |
|
|
static |
◆ grpc_rb_channel_polling_thread_start()
void grpc_rb_channel_polling_thread_start |
( |
| ) |
|
◆ grpc_rb_channel_safe_destroy()
◆ grpc_rb_channel_try_register_connection_polling()
◆ grpc_rb_channel_watch_connection_state_op_complete()
static void grpc_rb_channel_watch_connection_state_op_complete |
( |
watch_state_op * |
op, |
|
|
int |
success |
|
) |
| |
|
static |
◆ grpc_rb_channel_watch_connectivity_state()
static VALUE grpc_rb_channel_watch_connectivity_state |
( |
VALUE |
self, |
|
|
VALUE |
last_state, |
|
|
VALUE |
deadline |
|
) |
| |
|
static |
◆ grpc_rb_get_wrapped_channel()
◆ Init_grpc_channel()
void Init_grpc_channel |
( |
| ) |
|
◆ Init_grpc_connectivity_states()
static void Init_grpc_connectivity_states |
( |
| ) |
|
|
static |
◆ Init_grpc_propagate_masks()
static void Init_grpc_propagate_masks |
( |
| ) |
|
|
static |
◆ run_poll_channels_loop()
static VALUE run_poll_channels_loop |
( |
VALUE |
arg | ) |
|
|
static |
◆ run_poll_channels_loop_no_gil()
static void* run_poll_channels_loop_no_gil |
( |
void * |
arg | ) |
|
|
static |
◆ run_poll_channels_loop_unblocking_func()
static void run_poll_channels_loop_unblocking_func |
( |
void * |
arg | ) |
|
|
static |
◆ set_abort_channel_polling_without_gil()
static void* set_abort_channel_polling_without_gil |
( |
void * |
arg | ) |
|
|
static |
◆ wait_for_watch_state_op_complete_unblocking_func()
static void wait_for_watch_state_op_complete_unblocking_func |
( |
void * |
arg | ) |
|
|
static |
◆ wait_for_watch_state_op_complete_without_gvl()
static void* wait_for_watch_state_op_complete_without_gvl |
( |
void * |
arg | ) |
|
|
static |
◆ wait_until_channel_polling_thread_started_no_gil()
static void * wait_until_channel_polling_thread_started_no_gil |
( |
void * |
arg | ) |
|
|
static |
◆ wait_until_channel_polling_thread_started_unblocking_func()
static void wait_until_channel_polling_thread_started_unblocking_func |
( |
void * |
arg | ) |
|
|
static |
◆ abort_channel_polling
int abort_channel_polling = 0 |
|
static |
◆ bg_watched_channel_list_head
◆ channel_polling_cq
◆ channel_polling_thread_started
int channel_polling_thread_started = 0 |
|
static |
◆ global_connection_polling_cv
gpr_cv global_connection_polling_cv |
|
static |
◆ global_connection_polling_mu
gpr_mu global_connection_polling_mu |
|
static |
◆ grpc_channel_data_type
rb_data_type_t grpc_channel_data_type |
|
static |
Initial value:= {"grpc_channel",
{NULL, NULL}},
NULL,
NULL,
}
Definition at line 184 of file rb_channel.c.
◆ grpc_rb_cChannel
VALUE grpc_rb_cChannel = Qnil |
|
static |
◆ grpc_rb_cChannelArgs
VALUE grpc_rb_cChannelArgs |
|
static |
◆ id_channel
◆ id_insecure_channel
VALUE id_insecure_channel |
|
static |
◆ id_target