Hi,
I have not so much experience using POSIX threads, but we had in
university a project and for I/O to use threads is not so good method.
You slow down the process.
Some comments? Isn't so?
stefan
Titus von Boxberg wrote:
>
> Hi,
>
> I use two threads to do I/O for a process.
> The I/O takes place either on a socket or
> an I/O device (com port) file descriptor.
>
> Apparently it is not possible to shutdown those
> threads from a third thread, neither using close nor shutdown(2) for
> the socket I/O if the threads are blocked during read.
>
> What methods can one use to unblock such a blocked-on-read
> thread?
>
> Thanks,
>
> TITUS
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message