nope.  ThreadB will continue to run even if ThreadA is waiting for a system
call to return.  This is part of the purpose of threads.

----- Original Message ----- 
From: "Tyler" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, March 10, 2005 5:38 PM
Subject: pthread library


> Hi,
>
> I have a little question about the pthread library under linux.
> For example, we have a thread A and a thread B.
> If A do a read (which is a blocking operation), all the process will be
> blocked so thread B will be blocked too.
> That's true ?:)
>
> -
> To unsubscribe from this list: send the line "unsubscribe
linux-c-programming" in
> the body of a message to [EMAIL PROTECTED]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" 
in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to