home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / programm / 21938 < prev    next >
Encoding:
Text File  |  1993-01-22  |  2.3 KB  |  53 lines

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