On Saturday, January 4, 2003, at 06:00 PM, Robert Watson wrote:
With pthread_yield() I get the same as Watson. It still core's with a few ctrl-T's.On Sat, 4 Jan 2003, Juli Mallett wrote:* De: Robert Watson <[EMAIL PROTECTED]> [ Data: 2003-01-04 ]Hmm. I'm not experiencing that problem -- if I replace the sleep() with
[ Subjecte: pthread ^T problem on recent -CURRENT: death in libc_r mutex ]
Incidentally, this doesn't illustrate the problem I was actually tryingJuli Mallett pointed me at the following reproduceable problem on my -current notebook with userland/kernel dated Dec 29:
to point out. Try making the sleep's pthread_yield(). That will make
the threads never run again. sleep is the hack I've had to do. In my
appp, I have a 'my_yield' function which will sleep on FreeBSD, and
yield on everywhere else :(
pthread_yield(), I get a long sequence of '1's until thread2 is started,
and then clean alternation between '1' and '2'. I don't see any failure
to schedule a thread after it has yielded.
I'm updating my box from Dec 29 to today to see if that makes a difference
either way on either problem.
I'm running today's source.
-DR
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message