mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Fix warning on cygwin
This commit is contained in:
parent
966fcb77e4
commit
70f8f7c4b1
Notes:
git
2025-05-23 11:49:32 +00:00
2 changed files with 5 additions and 5 deletions
4
thread.c
4
thread.c
|
@ -1889,8 +1889,8 @@ rb_thread_mn_schedulable(VALUE thval)
|
|||
VALUE
|
||||
rb_thread_io_blocking_call(struct rb_io* io, rb_blocking_function_t *func, void *data1, int events)
|
||||
{
|
||||
rb_execution_context_t * ec = GET_EC();
|
||||
rb_thread_t *th = rb_ec_thread_ptr(ec);
|
||||
rb_execution_context_t * volatile ec = GET_EC();
|
||||
rb_thread_t * volatile th = rb_ec_thread_ptr(ec);
|
||||
|
||||
RUBY_DEBUG_LOG("th:%u fd:%d ev:%d", rb_th_serial(th), io->fd, events);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue