Re: real-time process

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
 
U cant go actual realtime on linux.
 ( ** CORRECT ME IF IM WRONG ** )
 
All that u can do is change the scheduling policy of linux in ur application
through API's provided.
 
      int sched_setscheduler(pid_t pid, int policy, const struct sched_param *p);
      int sched_getscheduler(pid_t pid);
 
 
       struct sched_param {
          ...
           int sched_priority;
           ...
       };
 U can assign priorities too with that.
 
Refer man pages for above functions.
 
If u really want real time, go in for RTLinux.
That can run Linux as a thread. So that u get all linux functionality
also get RT performance when reqd.
 
 
all the best..
 
byebyeing u..
 
-nagaraj
\(*_*)/
 
 
----- Original Message -----
Sent: Wednesday, October 16, 2002 11:45 AM
Subject: real-time process

hi,
 
If someone says to make an application a real-time process, what should we understand and do?
 
regards.

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux