Semaphore was not declared in this scope
#include <stdio.h>
#include <semaphore.h>
int main()
{
Semaphore tt;
}
Semaphore was not declared in this scope
我用的是G++ 编译的
WHY????
#include <semaphore.h>
int main()
{
Semaphore tt;
}
Semaphore was not declared in this scope
我用的是G++ 编译的
WHY????
作者: michael1112 发布时间: 2011-06-16
这个东东是内核程序使用的吧
作者: justkk 发布时间: 2011-06-16
这个东东是内核程序使用的吧
作者: justkk 发布时间: 2011-06-16
引用 2 楼 justkk 的回复:
这个东东是内核程序使用的吧
这个东东是内核程序使用的吧
进程线程间通讯
作者: michael1112 发布时间: 2011-06-16
哦,应该是sem_t tt 吧
作者: justkk 发布时间: 2011-06-16