Changeset 440

Show
Ignore:
Timestamp:
07/19/07 09:55:32 (1 year ago)
Author:
blackhedd
Message:

epoll method for JRuby.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • version_0/lib/jeventmachine.rb

    r436 r440  
    8181                @em.setTimerQuantum q 
    8282        end 
     83        def self.epoll 
     84                # Epoll is a no-op for Java. 
     85                # The latest Java versions run epoll when possible in NIO. 
     86        end 
    8387end 
    8488 
  • version_0/Rakefile

    r439 r440  
    156156task :jgem => ["pkg/eventmachine-java-#{$version}.gem"] 
    157157Rake::GemPackageTask.new(jspec) do |g| 
     158        $>.puts "-----------------" 
     159        $>.puts "Before executing the :jgem task, be sure to run :clean, and" 
     160        $>.puts "then make sure an up-to-date em_reactor.jar is present in the" 
     161        $>.puts "lib directory." 
     162        $>.puts "-----------------" 
    158163  if $can_minitar 
    159164    g.need_tar    = false