Re: thead security
- From: Michael Mol <mikemol@xxxxxxxxx>
- Date: Wed, 07 Feb 2007 21:52:18 -0500
seawind wrote:
HI all:
Call poll() function at two threads, and the important is the two
threads are waitting for the same socket descriptor . one of them is
set POLLIN , the other is set POLLOUT. What i want to know is whether
i should protect the socket descriptor by using lock. thanks advance
That might be a better question for comp.programming.threads.
--
Rosetta Code -- Building a Rosetta Stone for Programmers
http://rosettacode.org
.
- References:
- thead security
- From: seawind
- thead security
- Prev by Date: Re: what is criteria for judgment of i386 and x86 in linux?
- Next by Date: Re: Problems updating FC6
- Previous by thread: thead security
- Next by thread: Re: thead security
- Index(es):
Relevant Pages
|