linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "John T. Williams" <jtwilliams@vt.edu>
To: linux-c-programming@vger.kernel.org
Subject: Re: pthread library
Date: Thu, 10 Mar 2005 19:40:44 -0500	[thread overview]
Message-ID: <000d01c525d2$f5ffa960$660aa8c0@descartes2> (raw)
In-Reply-To: d0qi7v$e9a$1@sea.gmane.org

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" <tyler@agat.net>
To: <linux-c-programming@vger.kernel.org>
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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



      reply	other threads:[~2005-03-11  0:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-10 22:38 pthread library Tyler
2005-03-11  0:40 ` John T. Williams [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000d01c525d2$f5ffa960$660aa8c0@descartes2' \
    --to=jtwilliams@vt.edu \
    --cc=linux-c-programming@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).