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


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

Re: pthread_rwlock_rdlock hangs

From Ian Collins <ian-news@hotmail.com>
Newsgroups comp.lang.c++
Subject Re: pthread_rwlock_rdlock hangs
Date 2011-10-07 09:20 +1300
Message-ID <9f6gsdFtu8U4@mid.individual.net> (permalink)
References <fb97ce76-2995-4772-bbfd-756bd6d7e40f@fx14g2000vbb.googlegroups.com>

Show all headers | 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