• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Managing Multiple Connections
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Managing Multiple Connections (From: Lyndsey Ferguson <email@hidden>)

  • Prev by Date: Re: [Off-Topic?] Resources for developing Internet plug-ins for
  • Next by Date: Re: Managing Multiple Connections
  • Previous by thread: Re: Managing Multiple Connections
  • Next by thread: Re: Managing Multiple Connections
  • Index(es):
    • Date
    • Thread