diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-27 05:32:18 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-27 05:32:18 +0000 |
commit | 49a55f28abdcf3dea1f84ec5b59cfbedc37f44bf (patch) | |
tree | 1e7d5cb4519731a8bbda7c849ca6165ef4f64c90 /include/ruby/ruby.h | |
parent | bab586e7873672610b9ace7c8597d6bd1019601d (diff) | |
download | ruby-49a55f28abdcf3dea1f84ec5b59cfbedc37f44bf.tar.gz |
thread.c: check interrupts explicitly in select/ppoll blocking regions
The logic around blocking_region_begin is confusing to me,
but the goal of this patch is to ensure rb_sigwait_fd_get
and rb_sigwait_fd_put are matched.
In other words, we don't want a thread to hold sigwait_fd
forever if an exception is raised while calling select()
or ppoll().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/ruby.h')
0 files changed, 0 insertions, 0 deletions