Date: Mon, 3 Jan 2000 09:56:01 -0800 (PST) From: Kip Macy <kip@lyris.com> To: Martin Cracauer <cracauer@cons.org> Cc: Steffen Merkel <d_f0rce@gmx.de>, freebsd-hackers@FreeBSD.ORG Subject: Re: Limited amount of variables in a multithreaded programm? Message-ID: <Pine.SOL.4.05.10001030947070.5538-100000@luna.lyris.com> In-Reply-To: <20000103184233.B17710@cons.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> > FreeBSD's ping(8) is not a program that should be used for teaching C > coding, threaded or not :-) I am inclined to agree. Programs that could cause DOS attacks are not a good way to start one's education. My point was merely that the problem was not insurmountable without raising the threads' stack size. Unless you know a priori how many threads you are going to have, changing the threads' stack size is dangerous. And yes, threads leave a lot to be desired as a programming model. I agree with Osterhout that the event model is the best way to go for most things for which threads are used. -Kip 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?Pine.SOL.4.05.10001030947070.5538-100000>