[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Solaris 8 and pthread issues. [ Resolved ]
From: |
Anand Narwani |
Subject: |
Re: Solaris 8 and pthread issues. [ Resolved ] |
Date: |
Mon, 28 Oct 2002 14:37:58 -0800 (PST) |
Folks,
After trying several things, I finally threw in the
towel and upgraded the OS to Solaris 9. This fixed
the problem. So my question is: Does anyone know
what Solaris 8 Patch might have the same effect?
Thanks,
Anand
--- Anand Narwani <address@hidden> wrote:
> 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/
>
>
> _______________________________________________
> Bug-commoncpp mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp
__________________________________________________
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute