Date: Wed, 5 Mar 2003 04:50:06 -0800 (PST) From: Manas <bhatt_manas@yahoo.com> To: freebsd-questions@FreeBSD.org Subject: a question on threads Message-ID: <20030305125006.98208.qmail@web10708.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
hi, I wrote a threaded program and ran it. When i did top , i saw a numbers of instances of the same program running with different pids. Since a thread exist in a process, therefore there should have been only one instance of the process not many. I want to know how freeBSD implements pthreads and would it be advantages to use threads in freeBSD as compare to forking multiple instances. thanks manas __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030305125006.98208.qmail>