Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/powerbi/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用Rtlinux命令运行可执行文件和使用FIFO策略调度进程/线程之间的区别_Linux_Linux Kernel_Embedded Linux - Fatal编程技术网

使用Rtlinux命令运行可执行文件和使用FIFO策略调度进程/线程之间的区别

使用Rtlinux命令运行可执行文件和使用FIFO策略调度进程/线程之间的区别,linux,linux-kernel,embedded-linux,Linux,Linux Kernel,Embedded Linux,我是Rtlinux的新手,试图理解其基本原理。我在某个地方读到,也可以使用rtlinux命令运行可执行文件,但我没有找到关于该命令的太多信息。使用Rtlinux命令运行可执行文件与使用Rtlinux修补程序的FIFO策略调度进程/线程之间的区别是什么 提前谢谢 更新:看到了rtlinux书中使用的相同命令,下载自:页码:7 The resulting object binary must be inserted into the kernel, where it will be executed

我是Rtlinux的新手,试图理解其基本原理。我在某个地方读到,也可以使用rtlinux命令运行可执行文件,但我没有找到关于该命令的太多信息。使用Rtlinux命令运行可执行文件与使用Rtlinux修补程序的FIFO策略调度进程/线程之间的区别是什么

提前谢谢

更新:看到了rtlinux书中使用的相同命令,下载自:页码:7

The resulting object binary must be inserted into the kernel, where it will be executed by RTLinux.
Use the command 'rtlinux' (you need to be the 'root' to do so).
$ rtlinux start hello

由于RTLinux使用的是微内核架构,因此它允许您绕过常规Linux内核引入的任何延迟。考虑一下这个草图:

 ----- ----- -----
| App | App | App |                      (1)
 ----------------- --------- ---------
| Linux (RTL App) | RTL App | RTL App |  (2)
 -------------------------------------
|               RTLinux               |
 -------------------------------------
|                  HW                 |
 -------------------------------------
当使用Linux的FIFO调度程序调度程序时,它将在第(1)层运行。Linux内核本身是RTLinux调度程序中优先级最低(通常)的“进程”

但是,当您将程序编译为RTLinux模块并在第(2)层运行时,它能够在接收到中断时以最小的延迟抢占Linux内核

注意:据我所知,RTLinux已不再积极开发。考虑查看或修补程序。