Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Multi threading under OS X

Posted on 2004-10-22
1
Medium Priority
?
209 Views
Last Modified: 2013-12-26
Hi All,

I want to use multi threading under MAC OS X using carbon (not cocoa).
What Mac library should I use?
Or any other C++ library that can be implemented under OS X.
I code with codeWarrior (C/C++)
I need sample code if possible?

BT
0
Comment
Question by:bachra04
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 23

Accepted Solution

by:
brettmjohnson earned 500 total points
ID: 12384274
The Carbon Thread Manager APIs provide cooperative multithreading
using the old-style Mac OS multithreading model:

http://developer.apple.com/documentation/Carbon/Reference/Thread_Manager/index.html


There are also the POSIX compatible threads libraries.  But keep in mind that many of the
Carbon libraries (like Human Interface Toolbox functions) are not tolerant of preemptive
threads

man pthreads

0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn different types of Android Layout and some basics of an Android App.
Ready to get certified? Check out some courses that help you prepare for third-party exams.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question