home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 5622 < prev    next >
Encoding:
Text File  |  1996-08-05  |  2.1 KB  |  63 lines

  1. Path: uni-paderborn.de!usenet
  2. From: laire@basis.owl.de (Ralph Schmidt)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: FindTask() VERY IMPORTANT
  5. Date: 17 Mar 1996 16:19:44 GMT
  6. Organization: Universitaet Paderborn, Germany
  7. Message-ID: <4ihe30$1f@news.uni-paderborn.de>
  8. References: <1472.6649T717T1012@Redrobe.demon.co.uk> <4hp3cv$cqe@serpens.rhein.de> <4i64pk$ia1@news.xs4all.nl>  <4i74pb$b4f@serpens.rhein.de> <4ib9h0$i23@news.xs4all.nl>?9h0╨
  9. NNTP-Posting-Host: basis.owl.de
  10. In-Reply-To: <1472.6649T717T1012@Redrobe.demon.co.uk>
  11. X-Newsreader: NewsFlash [$Revision: 2.104 $] NF-U-00029
  12.  
  13. On 03/16/96, Mike wrote:
  14. >
  15. >Hi, Marco Nelissen , on 15-Mar-96 08:25:04 you scribbled....
  16. >>Michael van Elst (mlelstv@serpens.rhein.de) wrote:
  17. >>: I can only repeat myself:
  18. >
  19. >>So I've noticed...
  20. >
  21. >>: If there is a system function for a task then use it instead of 
  22. peeking
  23. >>: data structures.
  24. >
  25. >>SysBase->ThisTask is _R_E_A_D_A_B_L_E_, and always has been. Why 
  26. shouldn't
  27. >>I use it? If this suddenly fails on a new OS, so be it, but it won't 
  28. be my
  29. >>fault.
  30. >
  31. >He didnt say it will fail....as I see it he meant :
  32. >
  33. >If you want to have no problems recompiling for ppc native os4, use
  34. >FindTask...dont read task data structures..
  35. >
  36. >So.. use FindTask(NULL) and getting your program ppc native is a 
  37. matter of
  38. >recompiling(or maybe not even that) otherwise it gets emulated 
  39. ..slower (which
  40. >is what you aimed to avoid in the first place!)
  41. >
  42.  
  43. Oh well...is it so hard to understand what i said...basic essence was
  44. to use FindTask(NULL) for all things you`re doing from now on.
  45. Reading ThisTask directly may not be covered in "all" possible cases.
  46. So please..to avoid hassle you don┤t have to cause always use
  47. FindTask().
  48. And for people that wanna know it in depth...i don┤t wanna add an AI
  49. engine for the emulation to detect all kind of instructions
  50. that access Execbase+ThisTask.
  51.  
  52. To Macro Nelissen...do you need a personal message by AT or old
  53. CBM engineers that you┤re able to accept this new rule ?
  54.  
  55. So..let┤s stop this senseless discussion now because there┤s
  56. nothing here that┤s worth to be discussed.
  57.  
  58.  
  59.  
  60. --
  61. --
  62. Ralph Schmidt,laire@popmail.owl.de,NextMail welcome
  63.