home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 5037 < prev    next >
Encoding:
Text File  |  1996-08-05  |  2.1 KB  |  56 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: 8 Mar 1996 08:38:36 GMT
  6. Organization: Universitaet Paderborn, Germany
  7. Message-ID: <4hormc$grt@news.uni-paderborn.de>
  8. References: <4hni69$8ub@tempo.univ-lyon1.fr> <4hfvff$sj6@werple.net.au> <192.6637T931T2098@academy.bastad.se>?20@ <4hm7qm$otm@news.uni-paderborn.de> <MlDlTdS00iWS45Xc5x@andrew.cmu.edu>?╨
  9. NNTP-Posting-Host: basis.owl.de
  10. In-Reply-To: <4hni69$8ub@tempo.univ-lyon1.fr>
  11. X-Newsreader: NewsFlash [$Revision: 2.104 $] NF-U-00029
  12.  
  13. On 03/07/96, David Screve wrote:
  14. >Berend Ozceri (bo24+@andrew.cmu.edu) wrote:
  15. >: Excerpts from netnews.comp.sys.amiga.programmer: 7-Mar-96 Re: FindTask()
  16. >: VERY IMPORTANT by Marco Nelissen@xs1.xs4al 
  17. >: > Ralph Schmidt (laire@basis.owl.de) wrote:
  18. >: > : Never ever use SysBase->ThisTask for your programs. It will be
  19. >: > : banned/forbidden in the next OS release.
  20. >: >  
  21. >: > Says who? Why would a future OS not use this field?
  22. >
  23. >: Any changes in the Exec micro-kernel, especially in the scheduler,
  24. >: especially leaning towards multiprocessor support would make that field
  25. >: obsolete.
  26. >
  27. >    Regarding the scheduling code, I think there is no reason
  28. >to delete this information. Yes, TCNestID, and such other could be
  29. >"Schedule Dependant", but on every multitask OS, there is only one task
  30. >active on a time (except on multi-processor computer, but this problem
  31. >can be solved by protecting memory).  
  32. >
  33. >
  34. >David
  35.  
  36. Is it really necessary to argue about it...
  37.  
  38. 1) I didn┤t say that old Apps will break i only said that you should
  39.    use FindTask(NULL); NOW to make the life easier for the emulator.
  40.    Is that so hard to accept ?
  41.    The same for all fucked up FORBID,PERMIT,ENABLE,DISABLE macros.
  42.  
  43. 2) No...the MMU is no solution because you would have to readprotect
  44.    the whole execbase then because of the mmu page size that would
  45.    cause a lot slowdown.
  46.  
  47. 3) You can assume that for the next Exec version a PPC program is
  48.    NOT allowed to peek around in the execbase...it┤s taboo.
  49.  
  50. 4) I told that so people can adapt their programming style.
  51.  
  52.  
  53. --
  54. --
  55. Ralph Schmidt,laire@popmail.owl.de,NextMail welcome
  56.