socketDemo/EL/README.md
2024-09-12 18:03:40 +08:00

63 lines
811 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 面试专用贴
面试官你好,该框架非本人开发,仅作学习整理,但是常用,且熟悉函数源码、原理和流程。
# EL框架
EL框架整理了多个大佬的开源框架可以提升开发效率源码方便学习参考
## 使用
拉下来make即可
使用动态链接库时需要把动态链接库地址添加到在linux环境变量中。
## 主要类
```
微秒计时器
class ctimer
目录文件列表
class cdir
写文件的类
class cofile
读取文件的类
class cifile
自旋锁
class spinlock_mutex
日志文件
class clogfile
进程心跳
class cpactive
信号量
class csemp
循环队列
template <class TT, int MaxLength>
class squeue
socket通讯的服务端类
class ctcpserver
socket通讯的客户端类
class ctcpclient
```