Multi threading under OS X

Posted on 2004-10-22
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?

Question by:bachra04
    1 Comment
    LVL 23

    Accepted Solution

    The Carbon Thread Manager APIs provide cooperative multithreading
    using the old-style Mac OS multithreading model:

    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

    man pthreads


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
    Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
    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.
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…

    856 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

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now