Jim
Jim Witte wrote:
>
> What will happen to threads and multiprocessing in OS X?
If you're writing Cocoa apps, they get a lot easier to deal with. Check
out the documentation for the NSThread class.
-jcr
I heard that you can link to Unix libraries (I assume this includes the
kernal libraries) if you use a Unix object file format (Apple's is PEF).
> I heard that you can link to Unix libraries (I assume this includes the
> kernal libraries) if you use a Unix object file format (Apple's is PEF)
You'll have all the multiprocessing services of Unix available to you
(under Cocoa). Programs will be able to call neat things like fork(). :)
Wade
Also, Mach-O (the 'Unix' object file format) *is* Apple's new object
file format. PEF is a legacy format.
Marcel
--
Java and C++ make you think that the new ideas are like the old ones.
Java is the most distressing thing to hit computing since MS-DOS.
- Alan Kay -
> In article <d_voss-CF02AE....@news.uswest.net>, Dustin Voss
> <d_v...@uswest.net> wrote:
>
> > I heard that you can link to Unix libraries (I assume this includes the
> > kernal libraries) if you use a Unix object file format (Apple's is PEF)
>
> You'll have all the multiprocessing services of Unix available to you
> (under Cocoa). Programs will be able to call neat things like fork(). :)
>
> Wade
But under Carbon?
There is Multiprocessing SDK ver 2.1 at Apple Dev website,
http://developer.apple.com/sdk/. According the documentation, it will be
supported in Mac OS 8.6 and above and later via Carbon. It seems to be a
replacement for Thread Manager.
I have use the SDK and found it to be working at Mac OS 9 (non Carbon)
running on my iMac. It is really amazing to see it doing preemptive
multitasking on a classic Mac OS. My only problem is I do not have decent
debugger ( I am using CW5) which can debug MP task. I am not familiar
MacBugs 6.6 (suggested by the MP SDK), I really wish there is a better
way of debugging.
--
K.K.Chan
E-mail : kkc...@my-deja.com
Sent via Deja.com http://www.deja.com/
Before you buy.
> My only problem is I do not have decent debugger ( I am using CW5)
> which can debug MP task. I am not familiar MacBugs 6.6 (suggested by
> the MP SDK), I really wish there is a better way of debugging.
Write MW...@metrowerks.com and ask about an MP safe debugger. They may
send you one.
Ian
I have asked MWRon sometime back, according to him the
debugger is not available yet. I suspect it will be only available on
CW6 or when MacOS X is ready.
Have anyone done any programming on Carbon using MP SDK ?
I hope to port my current program (using MP) to Carbon sooner or
later.
Marcel Weiher wrote:
>
> Wade Williams <wa...@usit.net> writes:
>
> >In article <d_voss-CF02AE....@news.uswest.net>, Dustin Voss
> ><d_v...@uswest.net> wrote:
>
> >> I heard that you can link to Unix libraries (I assume this includes the
> >> kernal libraries) if you use a Unix object file format (Apple's is PEF)
>
> >You'll have all the multiprocessing services of Unix available to you
> >(under Cocoa). Programs will be able to call neat things like fork(). :)
>
> Also, Mach-O (the 'Unix' object file format) *is* Apple's new object
> file format. PEF is a legacy format.
Actually, Mach-O is the *Mach* object file format, and you won't find it
on most other UNIX implementations. On Linux, for example, the most
common executable format is the ELF binary.
-jcr
Just wondered if it still works under 8.x, without Carbon installed...
--
| John Aldis http://i.am/john.aldis
...a sort of urgent, hungry enthusiasm, the kind you get
when someone has just read a really interesting book and
is determined to tell someone all about it. |
-- Count Magpyr, /Carpe Jugulum/, by Terry Pratchett --