# NetDisk **Repository Path**: jifenghi/net-disk ## Basic Information - **Project Name**: NetDisk - **Description**: No description available - **Primary Language**: C - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-04-30 - **Last Updated**: 2022-05-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # NetDisk #### 介绍 #### 软件架构 服务端和客户端都使用EPOLL进行IO多路复用 线程池 传输结构体(event.h): ```c typedef enum{ CMD_ILLEGAL, // 非法命令 CMD_CD, CMD_LS, CMD_PUTS, CMD_REMOVE, CMD_PWD, CMD_MKDIR, CMD_DEDIR, } EventType; typedef struct Event { int net_fd; int event_type; //(子线程来选择) 也可用:函数指针(主线程来选择) int argc; char argv[5][BUF_SIZE]; // 二级指针太难了 } Event; ``` #### 使用说明 1. xxxx 2. xxxx 3. xxxx #### 进度 欧阳: - [x] 完成Makefile - [x] 线程池基础框架 - [x] 线程池解析命令,并解析结构体