home *** CD-ROM | disk | FTP | other *** search
- Path: dispatch.news.demon.net!demon!redrobe.demon.co.uk
- From: Mike@Redrobe.demon.co.uk (Mike)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: FindTask() VERY IMPORTANT
- Date: 16 Mar 96 11:57:20 +0000
- Message-ID: <1472.6649T717T1012@Redrobe.demon.co.uk>
- References: <4hp3cv$cqe@serpens.rhein.de> <4i64pk$ia1@news.xs4all.nl>
- <4i74pb$b4f@serpens.rhein.de> <4ib9h0$i23@news.xs4all.nl>
- NNTP-Posting-Host: redrobe.demon.co.uk
- X-NNTP-Posting-Host: redrobe.demon.co.uk
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
-
-
- Hi, Marco Nelissen , on 15-Mar-96 08:25:04 you scribbled....
- >Michael van Elst (mlelstv@serpens.rhein.de) wrote:
- >: I can only repeat myself:
-
- >So I've noticed...
-
- >: If there is a system function for a task then use it instead of peeking
- >: data structures.
-
- >SysBase->ThisTask is _R_E_A_D_A_B_L_E_, and always has been. Why shouldn't
- >I use it? If this suddenly fails on a new OS, so be it, but it won't be my
- >fault.
-
- He didnt say it will fail....as I see it he meant :
-
- If you want to have no problems recompiling for ppc native os4, use
- FindTask...dont read task data structures..
-
- So.. use FindTask(NULL) and getting your program ppc native is a matter of
- recompiling(or maybe not even that) otherwise it gets emulated ..slower (which
- is what you aimed to avoid in the first place!)
-
- >: This has a reason as the function interface allows to change the data
- >: structures, it also allows access policies. Is it too difficult to
- >: grasp for you ?
-
- >Is it too difficult for you to understand that until now SysBase->ThisTask
- >has always been documented as being readble? It is perfectly legal to
- >use it. Show me where it says I cannot use this field...
-
- Rules change, laws change, times change ;)
-
- Dinosaurs didnt change, and died out.
-
-
-
-
- Mike
-
- --
- ---------------------------------------------------------------------------
- Mike Redrobe - Mike@Redrobe.demon.co.uk MikeRR on #Amiga
- ---------------------------------------------------------------------------
-
-