Re: blocking pre-emting
[email protected] Thu, 18 Dec 2003 10:23:00 -0600
| Newsgroups | gmane.comp.lib.phil |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Dec 18, 2003 at 11:33:30AM +0530, Senthil Nathan V wrote: : : 1. t = gettime() ; : 2. t = t + deviation ; : 3. settime( t ) ; see adjtimex : 2. Is there any way I to block pre-emtion at the time of execution of these : sequence of statements in user program? setscheduler(SCHED_FIFO) disables task (but not interrupt) preemption setscheduler(SCHED_OTHER) reenables task preemption Brian Mancuso