Subject:
[ruby-ffi] Re: calling internal ruby functions
From:
mixtli
Date:
4/30/11 1:42 AM
To:
ruby-ffi

That all worked great.  Thanks for the help.

One quick suggestion/request..  what is your opinion of altering the
library so that it just issues a warning
instead of failing if attach_function fails due to a missing system
call?  It's easy enough to just copy/paste
the stuff I need from ffi-libc, but it'd be nice not to have to.
Probably would have to be added to add_variable as
well for consistency.  Stinks having the whole library not load
because of one or two syscalls I'll never use.

I can fork/patch if you like.


On Apr 29, 5:31 pm, mixtli <ronmcclai...@gmail.com> wrote:
> Thanks for the info.  I was using select before, but or course  it
> would block
> the whole vm.  Didn't know about the @blocking thing.  I'll give that
> a try.