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

  1. Path: cs.ruu.nl!usenet
  2. From: wsldanke@cs.ruu.nl (Wessel Dankers)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: FindTask() VERY IMPORTANT
  5. Date: 09 Mar 96 00:38:01 +0100
  6. Organization: Dept of Computer Science, Utrecht University, The Netherlands
  7. Message-ID: <1166.6642T38T97@cs.ruu.nl>
  8. References: <4hfvff$sj6@werple.net.au> <192.6637T931T2098@academy.bastad.se>?20@
  9.     <4hm7qm$otm@news.uni-paderborn.de><4hmpfb$5pi@news.xs4all.nl> <MlDlTdS00iWS45Xc5x@andrew.cmu.edu>
  10. NNTP-Posting-Host: anx1p16.cc.ruu.nl
  11. X-Newsreader: THOR 2.22 (Amiga TCP/IP)
  12.  
  13. Berend Ozceri <bo24+@andrew.cmu.edu> wrote:
  14. > Excerpts from netnews.comp.sys.amiga.programmer: 7-Mar-96 Re: FindTask()
  15. > VERY IMPORTANT by Marco Nelissen@xs1.xs4al
  16. >> Ralph Schmidt (laire@basis.owl.de) wrote:
  17. >> : Never ever use SysBase->ThisTask for your programs. It will be
  18. >> : banned/forbidden in the next OS release.
  19. >>
  20. >> Says who? Why would a future OS not use this field?
  21.  
  22. > Any changes in the Exec micro-kernel, especially in the scheduler,
  23. > especially leaning towards multiprocessor support would make that field
  24. > obsolete.
  25.  
  26. You are already more right than you think! I have a program that shows
  27. "exec.library" as the name with ThisTask, but "MyProgram" with FindTask(0)!
  28.  
  29. a)   ((struct ExecBase *)4)->ThisTask->tc_Node.ln_Name
  30.  
  31. b)   FindTask(0)->tc_Node.ln_Name
  32.  
  33. --
  34. Wessel Dankers                 _\\|//_            <wsldanke@cs.ruu.nl>
  35.                                ///|\\\
  36. ----------------------------oOO--(_)---OOo----------------------------
  37. `Never imagine yourself not to be otherwise than what it might appear
  38. to others that what you were or might have been was not otherwise than
  39. what you had been would have appeared to them to be otherwise.'
  40.  
  41.