sleepy_penguin RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* [PATCH] note the epoll/io.rb file is only for Ruby 1.8
@ 2015-12-07  4:15 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2015-12-07  4:15 UTC (permalink / raw)
  To: sleepy-penguin; +Cc: Eric Wong

I was reading the code after a while and wonder why it
was still doing archaic things like Time.now...

I'm not sure how much longer it's worth supporting 1.8.
Maybe the next release can remove it.
---
 lib/sleepy_penguin/epoll/io.rb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/sleepy_penguin/epoll/io.rb b/lib/sleepy_penguin/epoll/io.rb
index d5540c2..055f574 100644
--- a/lib/sleepy_penguin/epoll/io.rb
+++ b/lib/sleepy_penguin/epoll/io.rb
@@ -1,5 +1,8 @@
 class SleepyPenguin::Epoll::IO
   # :stopdoc:
+
+  # This is only for Ruby 1.8 using green threads
+
   alias __epoll_wait epoll_wait
   undef_method :epoll_wait
   def epoll_wait(maxevents = 64, timeout = nil)
-- 
EW


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-12-07  4:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-07  4:15 [PATCH] note the epoll/io.rb file is only for Ruby 1.8 Eric Wong

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/sleepy_penguin.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).