[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [linux-team] RE: [linux-team] Re: [linux-team] Sortir d'un appel à select
Cela semble strange. pourrais-tu nous envoyer le source ? c'est plus
simple....
alx
Piette François wrote:
>> Comment débloquer l'appel bloquant à select, sans bêtement tuer
le thread et
>> sans utiliser un timeout à l'appel de select.
>Si tu mets la socket dans l'exception mask du select et que tu
fermes la socket,
> select devrait sortir non ?
C'est ce que je pensais aussi, mais non: select reste bêtement planté là,
même si c'est le remote qui coupe la communication.
> ---
> François PIETTE
> Conseiller en informatique médicale
> Telecom Manager
> EMail: francois.piette@chrcitadelle.be
> Tel: +32-4.225.69.70
> Fax: +32-4.223.88.77
>
--------
Visit the Linux Supertore Online: http://www.redcorp.com !
If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.
Archive of the list: http://tania.be.linux.org/
--
----
Alexandre.Dulaunoy@ubizen.com
http://www.ubizen.com
tel +352 26310585 - fax +352 26310586
Ubizen - 166 rue de Dippach - L-8055 Bertrange
--------------------------------------------------
"The nice thing about standards is that there are
so many of them to choose from." A.S. Tanenbaum
--------
Visit the Linux Supertore Online: http://www.redcorp.com !
If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.
Archive of the list: http://tania.be.linux.org/