Skip to content

Instantly share code, notes, and snippets.

@shyam
Created May 11, 2017 13:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shyam/2ac2a966c9b0ccf30b02da79f2aab60c to your computer and use it in GitHub Desktop.
Save shyam/2ac2a966c9b0ccf30b02da79f2aab60c to your computer and use it in GitHub Desktop.
--- branches/ruby_2_3/thread.c 2017/04/09 11:53:53 58288
+++ branches/ruby_2_3/thread.c 2017/04/09 13:26:01 58289
@@ -2187,6 +2187,12 @@
return busy;
}
+void
+rb_thread_fd_close(int fd)
+{
+ while (rb_notify_fd_close(fd));
+}
+
/*
* call-seq:
* thr.raise
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment