• 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
Threads and C functions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Threads and C functions


  • Subject: Threads and C functions
  • From: Ken Tozier <email@hidden>
  • Date: Thu, 10 Feb 2005 19:03:16 -0500

Hi all,

I wrote some C utility functions that are shared by a number of classes but don't know enough about threads to know if I have to do anything special with the functions to make them thread safe.

If two non-interacting threads call the same C function with different data, are there any inherent problems? Or does the compiler take care of access to the function?

Thanks,

Ken

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Threads and C functions
      • From: Chaz McGarvey <email@hidden>
    • Re: Threads and C functions
      • From: Clark Cox <email@hidden>
  • Prev by Date: Re: Translate into ObjectiveC
  • Next by Date: Re: Translate into ObjectiveC
  • Previous by thread: Re: Translate into ObjectiveC
  • Next by thread: Re: Threads and C functions
  • Index(es):
    • Date
    • Thread