aboutsummaryrefslogtreecommitdiffstats
path: root/ruby_atomic.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-21 12:21:35 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-21 12:21:35 +0000
commit06f5c93b2e7c06b492cbf720336bc10495e47628 (patch)
treeae49d60ae5fd7ba047259f7d7bc171269e3286c7 /ruby_atomic.h
parent05bdfd7c2982de96cc8a7ed2aaac4597463d4c70 (diff)
downloadruby-06f5c93b2e7c06b492cbf720336bc10495e47628.tar.gz
thread.c: refactor a loop
* thread.c (do_select): replace switch and goto with a loop to suppress maybe-uninitialized warnings by gcc6. * thread.c (set_unblock_function, rb_wait_for_single_fd): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby_atomic.h')
0 files changed, 0 insertions, 0 deletions