Re: Managing Multiple Connections
Re: Managing Multiple Connections
- Subject: Re: Managing Multiple Connections
- From: Quinn <email@hidden>
- Date: Wed, 21 May 2003 16:37:27 +0100
At 9:18 -0400 21/5/03, Lyndsey Ferguson wrote:
I'm not an expert, but if you're creating a thread and not a process (via
fork()), then that thread shares the same resources and address space as the
main process/thread it was created in. It has its own stack though.
Just a cautionary note here: creating hundreds of threads is
definitely not good. Each thread consumes a chunk of kernel (and
hence wired) memory. See Table 2-2 of "IMOSX: Performance" for
details.
<
http://developer.apple.com/techpubs/macosx/Essentials/Performance/index.html>
S+E
--
Quinn "The Eskimo!" <
http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.