bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Solaris 8 and pthread issues.


From: Anand Narwani
Subject: Re: Solaris 8 and pthread issues.
Date: Mon, 28 Oct 2002 06:31:06 -0800 (PST)

Hi Fredrico,
I ran some tests and added cout's to event.cpp it
appears that the calls to get blocked in
pthread_cond_wait* calls.  I will attempt to re-run
those tests and I'll send you the output.

Thanks,
Anand
--- Federico Montesino Pouzols <address@hidden>
wrote:
> 
>       I have just tried this on a Debian GNU/Linux box
> and it worked
> well, so as you suggest it is probably a platform
> specific issue. Any
> other details about what happens on your platform
> when you run this
> program? Could you confirm if it gets blocked in the
> pthread_... system call?
> 
> On Fri, Oct 25, 2002 at 12:41:01PM -0700, Anand
> Narwani wrote:
> > Hello Folks,
> > I am attempting to write a simple program using
> Common
> > C++2 1.0.3 on Solaris 8.  Here is the code:
> > 
> > /**** Code Starts Here ****/
> > /***** Code Ends Here ****/
> > 
> > I've attempted to run this with GCC 2.95.2 and
> also
> > GCC 3.2 both seem to have the same results: 
> > Event::wait() never returns when I do a
> > Event::signal().  If I test with
> Event::wait(timeout),
> > it never times out.  
> > I've looked at the source for the Event Class and
> I
> > can see the call to pthread_cond_wait() or
> > pthread_cond_waittimeout().  When these are
> called,
> > neither one returns.  I've searched and searched
> the
> > newsgroups and the web.  The only issue I've found
> is
> > that Solaris *might* have a problem with recursive
> > mutexes.  Has anyone experienced problems like
> this? 
> > Am I missing something silly?
> > 
> > Thanks in advance,
> > Anand
> 
> 
> _______________________________________________
> Bug-commoncpp mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp



__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]