c++.announce - Preemptive multitasker MTask version 2.01
- Hugo Etchegoyen (16/16) Sep 26 2003 I have just finished version 2.01. I think timer interrupts are handled
- jnewberry oceaneering.com (3/19) Oct 22 2004 Jeff Newberry
- Walter (3/4) Oct 22 2004 www.digitalmars.com/user/mtask.html
- jnewberry oceaneering.com (2/6) Oct 25 2004
- Walter (3/14) Oct 25 2004 Sorry about that. There's one now.
I have just finished version 2.01. I think timer interrupts are handled properly now, including the possibility to have a timer callback (just one callback, I preferred to keep it simple). Changes from 2.00 are: * InitMTask() defines the timer interrupt period, from 1 to 55 msecs. * SetHandler() panics if you try to trap IRQ0. You were not supposed to do it anyway, but it is enforced now. * There is a new function, GetTime(), that returns the number of milliseconds elapsed since InitMTask(). * There is a new function DelayUntil(), intended for periodic tasks, that puts a task to sleep until some deadline time in the future. * There is a new function SetTimerCallback() for installing a callback that will be called from the timer interrupt. I also added a new test program (ptime.exe) for exercising the new features. Internally little has changed in the kernel, except programming the timer frequency and the fact that times are now measured in millisecs instead of ticks.
Sep 26 2003
So where can I download MTask 2.01? In article <3F74BEBF.9070704 fibertel.com.ar>, Hugo Etchegoyen says...I have just finished version 2.01. I think timer interrupts are handled properly now, including the possibility to have a timer callback (just one callback, I preferred to keep it simple). Changes from 2.00 are: * InitMTask() defines the timer interrupt period, from 1 to 55 msecs. * SetHandler() panics if you try to trap IRQ0. You were not supposed to do it anyway, but it is enforced now. * There is a new function, GetTime(), that returns the number of milliseconds elapsed since InitMTask(). * There is a new function DelayUntil(), intended for periodic tasks, that puts a task to sleep until some deadline time in the future. * There is a new function SetTimerCallback() for installing a callback that will be called from the timer interrupt. I also added a new test program (ptime.exe) for exercising the new features. Internally little has changed in the kernel, except programming the timer frequency and the fact that times are now measured in millisecs instead of ticks.Jeff Newberry
Oct 22 2004
<jnewberry oceaneering.com> wrote in message news:clbcu1$dtc$1 digitaldaemon.com...So where can I download MTask 2.01?www.digitalmars.com/user/mtask.html
Oct 22 2004
I don't see any download links on this html page. In article <clbl2p$nbi$1 digitaldaemon.com>, Walter says...<jnewberry oceaneering.com> wrote in message news:clbcu1$dtc$1 digitaldaemon.com...So where can I download MTask 2.01?www.digitalmars.com/user/mtask.html
Oct 25 2004
Sorry about that. There's one now. <jnewberry oceaneering.com> wrote in message news:clj27k$2bbg$1 digitaldaemon.com...I don't see any download links on this html page. In article <clbl2p$nbi$1 digitaldaemon.com>, Walter says...<jnewberry oceaneering.com> wrote in message news:clbcu1$dtc$1 digitaldaemon.com...So where can I download MTask 2.01?www.digitalmars.com/user/mtask.html
Oct 25 2004