📄 makefile
字号:
all: sig_nanosleep.oinclude ../../../rtl.mkhelp: @echo "/***************************************************************/" @echo "/* In this program, the behavior of nanosleep function when */" @echo "/* it's interrumped by a signal, is tested. */" @echo "/* While a thread is sleeping for a while, other thread */" @echo "/* generates a signal for it. Then thread is interrumped */" @echo "/* and shows the sleep time remained. */" @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 -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 sig_nanosleep.o @sleep 6 @echo "Now let's stop the application" @echo "Type <return> to finish" @read junk @rmmod sig_nanosleepinclude ../../../Rules.make
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -