home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 5569 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.9 KB

  1. Path: dispatch.news.demon.net!demon!redrobe.demon.co.uk
  2. From: Mike@Redrobe.demon.co.uk (Mike)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: FindTask() VERY IMPORTANT
  5. Date: 16 Mar 96 11:57:20 +0000
  6. Message-ID: <1472.6649T717T1012@Redrobe.demon.co.uk>
  7. References: <4hp3cv$cqe@serpens.rhein.de> <4i64pk$ia1@news.xs4all.nl>
  8.     <4i74pb$b4f@serpens.rhein.de> <4ib9h0$i23@news.xs4all.nl>
  9. NNTP-Posting-Host: redrobe.demon.co.uk
  10. X-NNTP-Posting-Host: redrobe.demon.co.uk
  11. X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
  12.  
  13.  
  14. Hi, Marco Nelissen , on 15-Mar-96 08:25:04 you scribbled....
  15. >Michael van Elst (mlelstv@serpens.rhein.de) wrote:
  16. >: I can only repeat myself:
  17.  
  18. >So I've noticed...
  19.  
  20. >: If there is a system function for a task then use it instead of peeking
  21. >: data structures.
  22.  
  23. >SysBase->ThisTask is _R_E_A_D_A_B_L_E_, and always has been. Why shouldn't
  24. >I use it? If this suddenly fails on a new OS, so be it, but it won't be my
  25. >fault.
  26.  
  27. He didnt say it will fail....as I see it he meant :
  28.  
  29. If you want to have no problems recompiling for ppc native os4, use
  30. FindTask...dont read task data structures..
  31.  
  32. So.. use FindTask(NULL) and getting your program ppc native is a matter of
  33. recompiling(or maybe not even that) otherwise it gets emulated ..slower (which
  34. is what you aimed to avoid in the first place!)
  35.  
  36. >: This has a reason as the function interface allows to change the data
  37. >: structures, it also allows access policies. Is it too difficult to
  38. >: grasp for you ?
  39.  
  40. >Is it too difficult for you to understand that until now SysBase->ThisTask
  41. >has always been documented as being readble? It is perfectly legal to
  42. >use it. Show me where it says I cannot use this field...
  43.  
  44. Rules change, laws change, times change ;)
  45.  
  46. Dinosaurs didnt change, and died out.
  47.  
  48.  
  49.  
  50.  
  51. Mike
  52.  
  53. --
  54. ---------------------------------------------------------------------------
  55. Mike Redrobe - Mike@Redrobe.demon.co.uk         MikeRR on #Amiga
  56. ---------------------------------------------------------------------------
  57.  
  58.