Re: POSIX APIs and thread safety on OSX
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Jul 2, 2009, at 3:09 PM, John Michael Zorko wrote: Kevin _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... I'm wondering how thread-safe POSIX calls like open(), connect(), read(), etc. are on OSX versions, specifically 10.3.9, 10.4.x, 10.5.x and 10.6.x? These interfaces are thread-safe by most definitions. It is OK for multiple threads to be making these calls simultaneously. However, it is up to the application to ensure data integrity; using these calls with the same file descriptor on multiple threads simultaneously will yield unpredictable results. This email sent to site_archiver@lists.apple.com
participants (1)
-
Kevin Van Vechten