Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #10705

Re: pthread_rwlock_rdlock hangs

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!nuzba.szn.dk!pnx.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Ian Collins <ian-news@hotmail.com>
Newsgroups comp.lang.c++
Subject Re: pthread_rwlock_rdlock hangs
Date Fri, 07 Oct 2011 09:20:28 +1300
Lines 15
Message-ID <9f6gsdFtu8U4@mid.individual.net> (permalink)
References <fb97ce76-2995-4772-bbfd-756bd6d7e40f@fx14g2000vbb.googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net 4uRx/VIwJMLzV272RQeqXQmN5RXz2+a89qEqRe7v8LqgXrnPGA
Cancel-Lock sha1:wcMFlvypDPbuQl7utrCb3s4wojk=
User-Agent Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.2.9) Gecko/20101021 Lightning/1.0b2 Thunderbird/3.1.4
In-Reply-To <fb97ce76-2995-4772-bbfd-756bd6d7e40f@fx14g2000vbb.googlegroups.com>
Xref x330-a1.tempe.blueboxinc.net comp.lang.c++:10705

Show key headers only | View raw


On 10/ 7/11 08:32 AM, Jaydeep Chovatia wrote:
>
> My question is why "pthread_rwlock_rdlock" hangs indefinitely. If
> there are more readers then it should return EAGAIN.
>
> Any help on this would be appreciated.
>
> OS Details: Red Hat Enterprise Linux Server release 6.0 (Santiago)
> Linux rwcdtgxb0406 2.6.32-71.el6.x86_64 #1 SMP Wed Sep 1 01:33:01 EDT
> 2010 x86_64 x86_64 x86_64 GNU/Linux

This isn't a C++ issue, try a Linux group or comp.programming.threads.

-- 
Ian Collins

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

pthread_rwlock_rdlock hangs Jaydeep Chovatia <chovatia.jaydeep@gmail.com> - 2011-10-06 12:32 -0700
  Re: pthread_rwlock_rdlock hangs Ian Collins <ian-news@hotmail.com> - 2011-10-07 09:20 +1300
  Re: pthread_rwlock_rdlock hangs Adam Skutt <askutt@gmail.com> - 2011-10-06 15:58 -0700

csiph-web