This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: sockets are not really ports?


>>>>> "Gary" == Gary Houston <ghouston@arglist.com> writes:

Gary> works for me.

Me too (that combining sockets and select works and has always).

Gary> Regarding the 1st problem, I don't think accept is the only
Gary> procedure that causes thread-blocking.

No, one has to be a bit carefull (I seem to remember that read-char
has the problem as well). However, a simple hack is to stick a select
call in front of the blocking call.

---------------------------+--------------------------------------------------
Christian Lynbech          | Ericsson Telebit A/S                       
Fax:   +45 8628 8186       | Fabrikvej 11, DK-8260 Viby J
Phone: +45 8738 2228       | email: chl@tbit.dk --- URL: http://www.tbit.dk
---------------------------+--------------------------------------------------
Hit the philistines three times over the head with the Elisp reference manual.
                                        - petonic@hal.com (Michael A. Petonic)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]