home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!charnel!sifon!CC.UMontreal.CA!casgrain
- From: casgrain@ERE.UMontreal.CA (Casgrain Philippe)
- Newsgroups: comp.sys.mac.programmer
- Subject: Basic multi-finder friendliness
- Message-ID: <1993Jan2.190850.18654@cc.umontreal.ca>
- Date: 2 Jan 93 19:08:50 GMT
- Sender: news@cc.umontreal.ca (Administration de Cnews)
- Organization: Universite de Montreal
- Lines: 27
-
- Hi all, and happy New Year!
-
- I have a program which is very computationnaly-inclined, so I try to make it
- run on a Mac, a PC (486-33) and a SGI workstation. To simplify things, the
- program's source is completely portable from one machine to another (usual
- text translations only) and relies on a 'machine-specific' unit that I developed
- for every machine.
- Now, this works :-), but on the Mac, the program hogs _all_ the computer cycles
-
- and does not allow background tasks (execpt file sharing, which seems to take
- CPU time from any application by taking the cycles before they're given to the
- apps).
-
- Is there a simple way of implementing the multi-tasking code (a la
- WaitNextEvent)?
-
- I can't afford to rebuild my program as a Mac-specific appli-
- cation, since it's purpose is not to be "nice", but compute fast. [Well, maybe,
- one day, it'll be a real Mac app, but for now I want to finish my Masters!].
-
- Thanks,
- Philippe casgrain@ERE.UMontreal.CA
-
- P.S. I don't mind adding a call in the source code that would 'allow
- background tasks', since I can always create a dummy procedure in the other
- machines' 'machine-specific' unit, to allow for complete portability.
-
-