Steve Byrne wrote:
> [DELETED]
> ...It does this by interposing on
> system calls like open, and forcing the fd to be attributed appropriately
> (i.e. nonblocking, and registered with the interrupt system so that SIGIO's
> are delivered).
> 
> You have basically two choices:
> 
> a) Ignore trying to make the fd nonblocking.
> b) (preferred) -- use the "internal" libc open() call (__open) yourself.
>    same for read, write, select, and some others that I don't think
>    are relevant.  If you can #define open in your code to be __open, and
>    similarly for the other system calls that you need to issue (to be
>    on the safe side, I think you could #define all system and c library
>    calls that you make to be the __ variant).
> 

This may explain problems I had with timers on RPC calls via JNI. Do
you suggest any way to have the RPC library calling the native
"__"-prefixed
functions from the RPC library (which I can't modify)? Or without 
perusing the sources, is there any docs on changes, say, to alarm() and
signal processing?

-- 
Diego Pons

Reply via email to