diff options
author | git <svn-admin@ruby-lang.org> | 2023-05-26 05:51:35 +0000 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-05-26 05:51:35 +0000 |
commit | cc698c6cc29b7e838932ce29745d2376c094671d (patch) | |
tree | 8822a6d8f2874beaaf3c6306c898d3029565c181 /thread.c | |
parent | d1628feaaf1bfa9ed8cbd0f4fd14a7cc802b3cc1 (diff) |
* expand tabs. [ci skip]
Please consider using misc/expand_tabs.rb as a pre-commit hook.
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1674,7 +1674,7 @@ rb_thread_io_blocking_region(rb_blocking_function_t *func, void *data1, int fd) struct waiting_fd waiting_fd = { .fd = fd, .th = rb_ec_thread_ptr(ec), - .busy = NULL, + .busy = NULL, }; // `errno` is only valid when there is an actual error - but we can't @@ -2487,7 +2487,7 @@ rb_notify_fd_close(int fd, struct rb_io_close_wait_list *busy) ccan_list_del(&wfd->wfd_node); ccan_list_add(&busy->list, &wfd->wfd_node); - wfd->busy = busy; + wfd->busy = busy; err = th->vm->special_exceptions[ruby_error_stream_closed]; rb_threadptr_pending_interrupt_enque(th, err); rb_threadptr_interrupt(th); @@ -2497,7 +2497,7 @@ rb_notify_fd_close(int fd, struct rb_io_close_wait_list *busy) has_any = !ccan_list_empty(&busy->list); if (has_any) { rb_native_mutex_initialize(&busy->mu); - rb_native_cond_initialize(&busy->cv); + rb_native_cond_initialize(&busy->cv); } RB_VM_LOCK_LEAVE(); |