Semaphore was not declared in this scope
这个东东是内核程序使用的吧
昵称: justkk 时间: 2011-06-16 13:37:22
这个东东是内核程序使用的吧
昵称: justkk 时间: 2011-06-16 13:37:35
进程线程间通讯
昵称: michael1112 时间: 2011-06-16 13:51:50
哦,应该是sem_t tt 吧
昵称: justkk 时间: 2011-06-16 13:56:25
#include <semaphore.h>
int main()
{
Semaphore tt;
}
Semaphore was not declared in this scope
我用的是G++ 编译的
WHY????