⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 最新rtlinux内核源码
💻
字号:
all: rr_sched.oinclude ../../../rtl.mkhelp:	@echo "/****************************************************************/"	@echo "/****************************************************************/"		@echo "/*  This program implements a very simple version of the        */"	@echo "/* Round-Robin scheduler using a periodic thread and user       */"	@echo "/* signals. Each scheduled thread has three signal handlers:    */"	@echo "/* the first suspends that thread, while the second wakes it up.*/"	@echo "/* The third signal exits it. The periodic thread has a handler */"	@echo "/* that implements the scheduling algorithm. Each time it has   */"	@echo "/* to schedule a thread it sends a signal to itself. Then the   */"	@echo "/* handler for that signal sends a signal to suspend the        */"	@echo "/* current thread and another to wake up the next thread.       */"	@echo "/* Finally, when the scheduler exits, it sends a signal to      */"	@echo "/* kill all the scheduled threads.                              */"	@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 rr_sched.o	@echo "Running real-time application for half a minute!"	@sleep 30	@echo "Now let's stop the application"	@echo "Type <return> to finish"	@read junk	@rmmod rr_sched	@kill `pidof -s tail`include ../../../Rules.make

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -