📄 makefile
字号:
all: signals.oinclude ../../../rtl.mkhelp: @echo "/***********************************************************/" @echo "/***********************************************************/" @echo "/* This is a test program in which there is a master */" @echo "/* thread and a user defined number of slaves. The */" @echo "/* master thread is the only thread that is periodic. */" @echo "/* It sends a signal to each slave in each activation. */" @echo "/* Slaves are suspended and waked up by it's signal */" @echo "/* handler. After reciving a number of signals, the */" @echo "/* slave thread blocks that signal with pthread_sigmask. */" @echo "/* After this no more signals are delivered. */" @echo "/***********************************************************/" @echo "/***********************************************************/" @echo "First we remove any existing rtl-modules" clean: rm -f *.otest: all help @echo "You may see error warnings from \"make\" - ignore them" @echo "Type <return> to continue" @read junk -rmmod sound -rmmod rt_process -rmmod frank_module (cd ../../../; scripts/rmrtl) @echo "Now insert the fifo and scheduler" @echo "Type <return> to continue" @read junk (cd ../../../; scripts/insrtl) @echo "Now start the real-time tasks module" @echo "Type <return> to continue" @read junk @insmod signals.o @sleep 5 @echo "Now let's stop the application" @echo "Type <return> to finish" @read junk @rmmod signalsinclude ../../../Rules.make
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -