home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!usc!sol.ctr.columbia.edu!fnal.fnal.gov!gwatts
- From: gwatts@fnalo.fnal.gov
- Subject: Re: Threads 2.0d17 does not work!
- References: <1jmg3eINNb61@life.ai.mit.edu>
- Sender: nobody@ctr.columbia.edu
- Organization: Fermi National Accelerator Lab
- Date: Fri, 22 Jan 1993 07:45:47 GMT
- Message-ID: <1993Jan22.014547.1@fnalo.fnal.gov>
- Lines: 39
- X-Posted-From: fnalo.fnal.gov
- NNTP-Posting-Host: sol.ctr.columbia.edu
-
- In article <1jmg3eINNb61@life.ai.mit.edu>, peterc@hal.gnu.ai.mit.edu (Peter Creath) writes:
- > Well, I checked out my problems carefully and even came up with a
- > (unsuitable) workaround.
- >
- > "Threads.lib" in the Threads 2.0d17 archive on ftp.apple.com is missing
- > a vital routine. Every time I try to link, I get (from Think C 5.0.4)
- >
- > undefined label: GetGlobalStash (Threads.lib)
-
- Yep. I had this problem too. I went and looked for the original message from
- a fellow at Apple (I want to say his last name was Grobbins, but I might
- be wrong!) -- but I've deleted it.
-
- For some reason, they left that routine out of the ThinkC implementation. You
- have to use oConv (that comes with your ThinkC distrib) to convert the MPW
- .o threads library to a Think project. The MPW version has this key routine.
-
- From what I understand, Threads was developed in Think C -- so it is a
- bit ironic that the ThinkC library is lacking. Also, no one is working
- on Threads at apple (at least, this was true 6 or 7 months ago), with no
- plans to do so in the future. Too bad, I like the package.
-
- There is also a free ware/share ware (I don't recal) out there that provides
- the same functionality. Unfortunately, I don't remember the name of the
- damm package. Perhaps someone will read this news and post it. You get
- the source with this package. It doesn't support futures, however.
-
- Good luck!
-
- Cheers,
- Gordon.
-
- P.S. If you include the threads resources in your application, make
- sure to blank out the icon in that file. When your app runs the first time,
- you'll get a spurious icon showing up on your desktop (bug!). If you
- just make sure you don't have that icon (I think it is 128) in your app's
- resource file, Threads will just beep. Unfortunate -- wasn't that the
- symptom of a virus; it would beep every now and then when you activated
- an application? Yeah, my Disinfectant manual tells me that was nVIR.
-