摘要: 头文件: #include <linux/delay.h> printk("usleep range\n"); //msleep_interruptible(unsigned int msecs) msleep_interruptible(10);// 可以被中断延时 // 下面延时类似让cpu 死 阅读全文
posted @ 2020-10-04 19:49 卷哭你 阅读(462) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> #include <limits.h> #include <time.h> #include <pthread.h> #include <semaphore.h> #include <unistd.h> #include 阅读全文
posted @ 2020-10-04 17:19 卷哭你 阅读(126) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-10-04 14:49 卷哭你 阅读(4) 评论(0) 推荐(0) 编辑
摘要: (1)apt-get remove openssh-server (2)sudo apt install openssh-server (3)sudo service ssh start (4) ps -aux | grep ssh (5)sudo apt install openssh-clien 阅读全文
posted @ 2020-10-04 09:56 卷哭你 阅读(11821) 评论(0) 推荐(0) 编辑