04 2021 档案
摘要:select系统调用 #include <sys/select.h> int select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout); nfds:是指集合中所有文件
阅读全文
摘要:1.使用st-thread 我们用一个简单的demo研究一下st框架。 #include <stdio.h> #include <stdlib.h> #include <pthread.h> #include "st.h" static void *_thread(void *arg) { prin
阅读全文
浙公网安备 33010602011771号