ZLMediaKit / ZLToolKit

一个基于C++11的轻量级网络框架,基于线程池技术可以实现大并发网络IO
MIT License
1.98k stars 588 forks source link

semaphore.h name conflicts with the system's semaphore.h #175

Open zhouxiaolangxiansen opened 1 year ago

zhouxiaolangxiansen commented 1 year ago

semaphore.h is a standard header file in the C language. I also wrote a semaphore.h here. It seems easy to conflict if they are used together?

semaphore.h 是 C 语言中的一个标准头文件,这里也写了个semaphore.h,两个一起使用好像容易冲突?

TRANS_BY_GITHUB_AI_ASSISTANT

xia-chu commented 1 year ago

There is indeed this problem.

确实有这个问题

TRANS_BY_GITHUB_AI_ASSISTANT