> 
> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to