Changeset 388

Show
Ignore:
Timestamp:
06/15/07 15:48:11 (2 years ago)
Author:
blackhedd
Message:

added an ifdef around ::_UseEpoll so it can't be switched on unless the capability is actually present.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • version_0/ext/em.cpp

    r383 r388  
    105105         */ 
    106106 
     107        #ifdef HAVE_EPOLL 
    107108        bEpoll = true; 
     109        #endif 
    108110} 
    109111 
  • version_0/tests/test_next_tick.rb

    r345 r388  
    4141        def test_tick_arg 
    4242                pr = proc {EM.stop} 
     43                EM.epoll 
    4344                EM.run { 
    4445                        EM.next_tick pr 
     
    4849 
    4950        def test_tick_block 
     51                EM.epoll 
    5052                EM.run { 
    5153                        EM.next_tick {EM.stop}