Timothy Stack wrote:
- should the socket be permanently non blocking?


I've CC:ed Tim Stack[1] & Guilhem Lavaux on that one.


Socket should be blocking by default. It is necessary for the other syscalls. BTW, you may be interested by the jthread_set_blocking function (available for both jthreads and pthreads for external usage) which sets the blocking state of the fd (virtually for jthreads and natively for pthreads).


Is there a reason we don't just use the SO_RCVTIMEO?


I think we may use it only if the feature is available. I have already seen that not so much systems support it. :/ So maybe we should implement the two mechanism...


Cheers,

Guilhem.


Cheers,

Guilhem Lavaux.


tim



_______________________________________________
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to