Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jan 100 08:05:43 +0200 (SAT)
From:      Reinier Bezuidenhout <rbezuide@oskar.dev.nanoteq.co.za>
To:        rbezuide@oskar.dev.nanoteq.co.za (Reinier Bezuidenhout)
Cc:        jasone@canonware.com, wes@softweyr.com, hackers@FreeBSD.ORG
Subject:   Re: Preemptiveness of FreeBSD threads
Message-ID:  <200001170605.IAA20072@oskar.dev.nanoteq.co.za>
In-Reply-To: <200001170558.HAA19865@oskar.dev.nanoteq.co.za> from Reinier Bezuidenhout at "Jan 17, 0 08:01:05 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> Hi ...
> 
> I also ran this program on a 4.0-current as of about Jan 13 2000 :)
> 
> It generates the errornous output like clock work on my machine (after about
> 30 tries - no exception).  I then though that maybe the system gets so buzy
> that it has difficulty on starting the threads - yes I know this should not
> be a problem.
> 
> I added a "sleep (1);" as the FIRST instruction in the "start_my_thread"
> functioni (Thus it is not inside the loop).  This causes the following
> output every time.
> 

Seems like I have to recall this statement - I've just removed the sleep 
and recompiled and now it seems to work again ... and just about everytime
I've tested it ... I am now just as confused as anyone else :/

Reinier




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001170605.IAA20072>