Kevin Ryde <[EMAIL PROTECTED]> writes: > William Xu <[EMAIL PROTECTED]> writes: >> >> i have already tried that.. > > Oh, I see, in 1.6 it's a bare recv() call, it doesn't cooperate with > the multi-threading. Hmm. Not sure if it's easy to fix that, it > works in 1.8 because pthreads takes care of all blocking.
oh... but it was cvs guile. I also tried with 1.8, still no luck, though. :( And you also don't have the slib problem? I guess it might be some platform related issue then. (It's debian on an ibook here.) > As a workaround in 1.6 I think you can stick in a select call > > (select (list sock) '() '()) > > just before the recv!, to wait for sock to have data ready to read. > (When select blocks it cooperates with the multi-threading, letting > other threads run.) This workaround works nice. Thank you so much! i can continue my little program again. :) -- William _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user