Path: utzoo!attcan!uunet!dino!ux1.cso.uiuc.edu!julius.cs.uiuc.edu!apple!keith From: keith@Apple.COM (Keith Rollin) Newsgroups: comp.sys.mac.programmer Subject: Re: Extended Time Manager in System 6.0.7 Message-ID: <46475@apple.Apple.COM> Date: 11 Nov 90 02:02:38 GMT References: <2252.273af53c@waikato.ac.nz> <29523@boulder.Colorado.EDU> Organization: Apple Computer Inc., Cupertino, CA Lines: 29 In article <29523@boulder.Colorado.EDU> pratt@boulder.Colorado.EDU (Jonathan Pratt) writes: >As long as this thread is going on, I have a few questions about the >Time Manager. First, I know it's documented somewhere how to tell how >much time is left in a task. So, either where is this documented, or >how can the tmCount field be interpreted? (Also, is this applicable before >RmvTime is called?) I seem to recall from snooping around that the tmCount >increments are dependent on the time requested - is this true? Note >that the tmCount field is incorrectly called an integer in IM IV. I don't think this is true any longer. I believe that the Extended Time Manager gets its greater resoution (250 microsec) by letting the hardware count down, rather than doing its own counting in tmCount. >Second, is it supposed to be possible for a task to reinstall itself >with _PrimeTime, the way vbl tasks do by resettings their counts? >I've found this works unless it's allowed to happen when the computer >is doing other things, because of WNE calls. Nothing funny happening >at interrupt level - just a _PrimeTime call. I use the Time Manager -- even in the brackground -- in the DTS sample code FracApp 2.0. I've never noticed any problems. -- ------------------------------------------------------------------------------ Keith Rollin --- Apple Computer, Inc. --- Developer Technical Support INTERNET: keith@apple.com UUCP: {decwrl, hoptoad, nsc, sun, amdahl}!apple!keith "Argue for your Apple, and sure enough, it's yours" - Keith Rollin, Contusions