public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Quick question.
@ 2004-07-11  1:29 vlobanov
  2004-07-11  2:09 ` John Richard Moser
  0 siblings, 1 reply; 2+ messages in thread
From: vlobanov @ 2004-07-11  1:29 UTC (permalink / raw)
  To: linux-kernel

Hi,

I have a quick question about a supposed scenario.

Suppose you have two pthreads - a main pthread and a utility pthread -
both running in the same application. The utility pthread is currently
in the middle of doing a recv() call on a network socket. At the same time,
the main pthread decides that it's time to exit, and either returns or
does a series of fork()/execv() calls. Is the behavior of the utility
pthread in such a case deterministic, and if so, what is it?

Thanks in advance for the help.

-Vadim Lobanov

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-07-11  2:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-11  1:29 Quick question vlobanov
2004-07-11  2:09 ` John Richard Moser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox