📄 makefile
字号:
all: ign_signals.oinclude ../../../rtl.mkhelp: @echo "/**************************************************************/" @echo "/**************************************************************/" @echo "/* In this test a master thread sends signals to all its */" @echo "/* slave threads. Only odd threads should act upon the */" @echo "/* generated signals. So the other threads have installed the */" @echo "/* default handler or SIG_IGN. */" @echo "/**************************************************************/" @echo "/**************************************************************/" clean: rm -f *.otest: all help @echo "First we remove any existing rtl-modules" @echo "You may see error warnings from \"make\" - ignore them" @echo "Type <return> to continue" @read junk (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 @tail -f /var/log/messages -n 0 & @insmod ign_signals.o @echo "Running real-time application for ten seconds!" @sleep 3 @echo "Now let's stop the application" @echo "Type <return> to finish" @read junk @rmmod ign_signals @kill `pidof -s tail`include ../../../Rules.make
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -