Merge branch 'master' of git://factorcode.org/git/factor

db4
Slava Pestov 2009-11-22 13:49:26 -06:00
commit 79d0211c02
1 changed files with 3 additions and 4 deletions

View File

@ -9,10 +9,9 @@ IN: io.backend.unix.multiplexers.epoll
TUPLE: epoll-mx < mx events ;
: max-events ( -- n )
#! We read up to 256 events at a time. This is an arbitrary
#! constant...
256 ; inline
#! We read up to 256 events at a time. This is an arbitrary
#! constant...
CONSTANT: max-events 256
: <epoll-mx> ( -- mx )
epoll-mx new-mx