grpc 1.61.0-x64-mingw-ucrt → 1.62.0.pre1-x64-mingw-ucrt

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f314366bc12fbd6049d1adf694556fa5ec73de3b6db517beb415408df165c3ff
4
- data.tar.gz: 79be2f65426699f36dbfbfe9f5bec8f25263e7a06f2e3b61933d461d52293f99
3
+ metadata.gz: '0318bf9b8373e03aa112e06bc83c47aee9d16a337bb27ee670e78e5c00db38de'
4
+ data.tar.gz: 42a1a8e49d65af0bdedabee5dfddb023651ab9714ea39cd0aceef1e27b2512df
5
5
  SHA512:
6
- metadata.gz: 6c387bc68e3a7d60ae5a62e20dcc19dc708954d239ed5c3fe7abec35208d223d6247da6dace43d55785103352c7e58f6fe3a7843aa2f4bf89c128050667fb0a7
7
- data.tar.gz: f5e0aadeda5eace11c66f885f563121d84d0fd9f42e85859d49c610a5bf6294e29a38931758b47f8300471105a83499ac5aaa5635f8b02a0eb5ecafd5d3337f2
6
+ metadata.gz: 2de3189eff8691dad4fc34b30fdeb0b3cfe6d722ef367e28ee9e812bc67394623933a7c79c3fb95626d89898ae460c613205e7cfaef415734ceb50aa8d03b65e
7
+ data.tar.gz: dc0a449bc5bf02445d55a03f47721a68bac5b3e722ae28d8dd4b2744b2799787b5ff22919e9f0a0df438bfa16753129527bd80e11777a72e50cbaed6048994da
data/grpc_c.64-ucrt.ruby CHANGED
Binary file
@@ -111,7 +111,6 @@ if apple_toolchain && !cross_compiling
111
111
  end
112
112
  end
113
113
 
114
- env_append 'CPPFLAGS', '-DGPR_BACKWARDS_COMPATIBILITY_MODE'
115
114
  env_append 'CPPFLAGS', '-DGRPC_XDS_USER_AGENT_NAME_SUFFIX="\"RUBY\""'
116
115
 
117
116
  require_relative '../../lib/grpc/version'
@@ -117,6 +117,7 @@ static bg_watched_channel* bg_watched_channel_list_create_and_add(
117
117
  grpc_channel* channel);
118
118
  static void bg_watched_channel_list_free_and_remove(bg_watched_channel* bg);
119
119
  static void run_poll_channels_loop_unblocking_func(void* arg);
120
+ static void* run_poll_channels_loop_unblocking_func_wrapper(void* arg);
120
121
 
121
122
  // Needs to be called under global_connection_polling_mu
122
123
  static void grpc_rb_channel_watch_connection_state_op_complete(
@@ -689,8 +690,12 @@ static void* run_poll_channels_loop_no_gil(void* arg) {
689
690
  return NULL;
690
691
  }
691
692
 
692
- // Notify the channel polling loop to cleanup and shutdown.
693
693
  static void run_poll_channels_loop_unblocking_func(void* arg) {
694
+ run_poll_channels_loop_unblocking_func_wrapper(arg);
695
+ }
696
+
697
+ // Notify the channel polling loop to cleanup and shutdown.
698
+ static void* run_poll_channels_loop_unblocking_func_wrapper(void* arg) {
694
699
  bg_watched_channel* bg = NULL;
695
700
  (void)arg;
696
701
 
@@ -701,7 +706,7 @@ static void run_poll_channels_loop_unblocking_func(void* arg) {
701
706
  // early out after first time through
702
707
  if (g_abort_channel_polling) {
703
708
  gpr_mu_unlock(&global_connection_polling_mu);
704
- return;
709
+ return NULL;
705
710
  }
706
711
  g_abort_channel_polling = 1;
707
712
 
@@ -723,10 +728,11 @@ static void run_poll_channels_loop_unblocking_func(void* arg) {
723
728
  gpr_log(GPR_DEBUG,
724
729
  "GRPC_RUBY: run_poll_channels_loop_unblocking_func - end aborting "
725
730
  "connection polling");
731
+ return NULL;
726
732
  }
727
733
 
728
734
  // Poll channel connectivity states in background thread without the GIL.
729
- static VALUE run_poll_channels_loop(VALUE arg) {
735
+ static VALUE run_poll_channels_loop(void* arg) {
730
736
  (void)arg;
731
737
  gpr_log(
732
738
  GPR_DEBUG,
@@ -783,8 +789,8 @@ void grpc_rb_channel_polling_thread_stop() {
783
789
  "GRPC_RUBY: channel polling thread stop: thread was not started");
784
790
  return;
785
791
  }
786
- rb_thread_call_without_gvl(run_poll_channels_loop_unblocking_func, NULL, NULL,
787
- NULL);
792
+ rb_thread_call_without_gvl(run_poll_channels_loop_unblocking_func_wrapper,
793
+ NULL, NULL, NULL);
788
794
  rb_funcall(g_channel_polling_thread, rb_intern("join"), 0);
789
795
  // state associated with the channel polling thread is destroyed, reset so
790
796
  // we can start again later
@@ -106,17 +106,22 @@ static void* grpc_rb_wait_for_event_no_gil(void* param) {
106
106
  return NULL;
107
107
  }
108
108
 
109
- static void grpc_rb_event_unblocking_func(void* arg) {
109
+ static void* grpc_rb_event_unblocking_func_wrapper(void* arg) {
110
110
  (void)arg;
111
111
  gpr_mu_lock(&event_queue.mu);
112
112
  event_queue.abort = true;
113
113
  gpr_cv_signal(&event_queue.cv);
114
114
  gpr_mu_unlock(&event_queue.mu);
115
+ return NULL;
116
+ }
117
+
118
+ static void grpc_rb_event_unblocking_func(void* arg) {
119
+ grpc_rb_event_unblocking_func_wrapper(arg);
115
120
  }
116
121
 
117
122
  /* This is the implementation of the thread that handles auth metadata plugin
118
123
  * events */
119
- static VALUE grpc_rb_event_thread(VALUE arg) {
124
+ static VALUE grpc_rb_event_thread(void* arg) {
120
125
  grpc_rb_event* event;
121
126
  (void)arg;
122
127
  while (true) {
@@ -155,7 +160,8 @@ void grpc_rb_event_queue_thread_stop() {
155
160
  "GRPC_RUBY: call credentials thread stop: thread not running");
156
161
  return;
157
162
  }
158
- rb_thread_call_without_gvl(grpc_rb_event_unblocking_func, NULL, NULL, NULL);
163
+ rb_thread_call_without_gvl(grpc_rb_event_unblocking_func_wrapper, NULL, NULL,
164
+ NULL);
159
165
  rb_funcall(g_event_thread, rb_intern("join"), 0);
160
166
  g_event_thread = Qnil;
161
167
  }
Binary file
Binary file
Binary file
@@ -14,5 +14,5 @@
14
14
 
15
15
  # GRPC contains the General RPC module.
16
16
  module GRPC
17
- VERSION = '1.61.0'
17
+ VERSION = '1.62.0.pre1'
18
18
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.61.0
4
+ version: 1.62.0.pre1
5
5
  platform: x64-mingw-ucrt
6
6
  authors:
7
7
  - gRPC Authors
8
8
  autorequire:
9
9
  bindir: src/ruby/bin
10
10
  cert_chain: []
11
- date: 2024-01-31 00:00:00.000000000 Z
11
+ date: 2024-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf
@@ -351,7 +351,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
351
351
  - !ruby/object:Gem::Version
352
352
  version: '0'
353
353
  requirements: []
354
- rubygems_version: 3.5.5
354
+ rubygems_version: 3.5.6
355
355
  signing_key:
356
356
  specification_version: 4
357
357
  summary: GRPC system in Ruby