#include "rtos.h"//加的库Thread thread1;//外部声明void servo1_thread() { while (true) { Thread::signal_wait(0x001); ... }}thread1.start(servo1_thread);thread1.signal_set(0x001);thread1.terminate( );//read_threadvoid read_thread(){ d = pc.getc();}void servo8_thread() { thread9.terminate( ); if(Ein == 1) { pc.printf("s"); wait(0.5); } thread9.start(read_thread);}