Sha256: 926839370d92dbe005b3a0f6885b0abed85d100a6611bf27650e6d88a91c8879

Contents?: true

Size: 656 Bytes

Versions: 1

Compression:

Stored size: 656 Bytes

Contents

=== sleepy_penguin 1.2.0 - epoll GC help / 2011-01-15 12:06 UTC

  One convenience fix:

    epoll: prevent IO objects from getting GC-ed

    Users of our code may forget to keep references for their IO
    objects at all, and since it's not possible for GC to mark
    kernel memory, we just hold on to the IO objects for them.

    We can't unmark close()d file descriptors, ever, so we don't
    bother with the EPOLL_CTL_DEL case, either.  Just storing IO
    objects in an array using the raw descriptor as a key will allow
    bounded space usage just like the in-kernel FD tables as long
    as the user remembers to close descriptors themselves.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sleepy_penguin-1.2.0 LATEST