I am using Ruby/DL (dl/import) to load a dynamic library. It seems
that when I call a function of this library from Ruby, it is blocking.
Is it “normal”, or am I doing something wrong? Is it possible to make
it non-blocking?
On Fri, Sep 24, 2010 at 07:05:35AM +0900, PierreW wrote:
Hi guys,
I am using Ruby/DL (dl/import) to load a dynamic library. It seems
that when I call a function of this library from Ruby, it is blocking.
Is it “normal”, or am I doing something wrong? Is it possible to make
it non-blocking?
If I’m understanding you correctly, then yes. This is normal. It
should block until the C function returns.
I am using Ruby/DL (dl/import) to load a dynamic library. It seems
that when I call a function of this library from Ruby, it is blocking.
Is it “normal”, or am I doing something wrong? Is it possible to make
it non-blocking?