home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!apple!goofy!NewsWatcher!user
- From: dowdy@apple.com (Tom Dowdy)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: 'Threads' package question
- Message-ID: <dowdy-060193175133@90.10.20.25>
- Date: 7 Jan 93 01:54:24 GMT
- References: <1993Jan2.184916.18378@cc.umontreal.ca> <1993Jan2.202522.1@fnalo.fnal.gov>
- Sender: usenet@goofy.apple.COM
- Followup-To: comp.sys.mac.programmer
- Organization: Apple Computer, Inc.
- Lines: 31
-
- In article <1993Jan2.202522.1@fnalo.fnal.gov>, gwatts@fnalo.fnal.gov wrote:
- > In article <1993Jan2.184916.18378@cc.umontreal.ca>, casgrain@ERE.UMontreal.CA (Casgrain Philippe) writes:
- > > I would like to know what _is_ exactly the 'Threads' INIT (extension).
- > > I believe it allows multi-threading programming. Is this related to multi-
- > > tasking? Is there any sample code that I can look at to program (Pascal,
- > > preferably)? Is there any documentation available? (I have access to ETO).
- >
- > Check out develop issue 6 and 7 -- they have the articles describing the
- > threads package. You can get them off the develop cd, or in the apple ftp
- > site, under dts/doc/develop. It has some sample code there as well as the
- > text of the article.
-
- I should point out that if you don't know what threads are for - or
- why you might want to use lightweight tasks within your application -
- you may not be ready to use them.
-
- Threads require some thought to use properly (ie, in a way which is
- actually adding value to your application), and in many cases you can
- quite simply structure your application so as to not need to use them
- at all. Almost all cases where they "need" to be used are when you
- are relying on some body of code over which you have no control, and
- which is not giving up time in a nice way.
-
- So, in summary, don't use them just for the sake of using them - use
- them because you really are sure they are needed.
-
- Tom Dowdy Internet: dowdy@apple.COM
- Apple Computer MS:81KS UUCP: {sun,voder,amdahl,decwrl}!apple!dowdy
- 20525 Mariani Ave AppleLink: DOWDY1
- Cupertino, CA 95014
- "The 'Ooh-Ah' Bird is so called because it lays square eggs."
-