[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: problem with multiple replica

On Thu, 12 Dec 2002, Quanah Gibson-Mount wrote:

> > So, was an attempt even made to replicate?  What does debugging output
> > show?  Note that tools such as "truss" may be thread-unaware (I got bitten
> > by this when I found slurpd was using a thread-unsafe function inside a
> > thread).  Fire up GDB with some creative breakpoints, or use "-d".
> Hm, must depend on the version of truss.  The version I use under Solaris 8
> & 9 understands threads.

Sorry; I should've said it was on FreeBSD.  It treats the thread calls as
ordinary calls, so ends up in the waiting loop.  Confused the heck out of
me until I twigged to it.  Ktrace was little better.

Dave Horsfall  DTM  VK2KFU  daveh@ci.com.au  Ph: +61 2 9906-7866  Fx: 9906-1556
Corinthian Engineering, Level 1, 401 Pacific Hwy, Artarmon, NSW 2064, Australia