From owner-freebsd-hackers Mon Jan 17 7:40:49 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from smtppzh.pzh.nl (webshield.pzh.nl [194.178.168.50]) by hub.freebsd.org (Postfix) with SMTP id 567F614E19 for ; Mon, 17 Jan 2000 07:40:40 -0800 (PST) (envelope-from MULHUIJZEN@PZH.NL) Received: FROM smtp.pzh.nl BY smtppzh.pzh.nl ; Mon Jan 17 16:39:37 2000 0000 Received: from PZH40-1-Message_Server by smtp.pzh.nl with Novell_GroupWise; Mon, 17 Jan 2000 16:39:42 +0100 Message-Id: X-Mailer: Novell GroupWise 5.5.2 Date: Mon, 17 Jan 2000 16:39:22 +0100 From: "ROGIER MULHUIJZEN" To: Subject: Re: Preemptiveness of FreeBSD threads Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >OK, with everyones help (well, waiting for the right time of day ;-)), I >was able to reproduce this. The initial threads last active time was >not getting initialized to a sane value, causing negative computations >of the threads timeslice depending on what time of day it was. Funny >thing was that I added this change several times, but each time I somehow >convinced myself that it wasn't needed. >Try this patch - you may have to hand apply it as my sources are not >yet up to date with the last round of changes that Jason made. >Dan Eischen >eischen@vigrid.com Ah! That explains why I couldn't reproduce the trouble I had with gFTP (about which I mailed a few days ago). I had done some hacking in GTK's source to make it all work (sleep(0) and what not), and after taking out everything I had added, it still worked. Well phase of the moon wasn't even that far off! =) DocWilco To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message