由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - Semaphores in Linux (转载)
相关主题
Unix semaphorewhere is libstdc++
Does Linux support thread?GCC的编译?
问:用惯linux的人适不适合转Mac OS??漆血柜求
Unix下好好的到了linux下segment fault[转载] ask a question.
Questions about MakefileGCC 一问
[转载] 请教三个关于emacs和perl的问题Help: convert // to /* */ in C code?
A tough compiler problemabout compiling new glibc/gcc in fc14 (转载)
[转载] molscript and grasphelp needed-install gcc/g++ 4.7 on ubuntu 14.04
相关话题的讨论汇总
话题: linux话题: semaphores话题: system话题: uses话题: semget
进入Unix版参与讨论
1 (共1页)
n**d
发帖数: 9764
1
【 以下文字转载自 Linux 讨论区 】
发信人: noid (DoIneedit?), 信区: Linux
标 题: Semaphores in Linux
发信站: BBS 未名空间站 (Sat Jan 10 00:14:53 2009)
http://www.linuxdevcenter.com/pub/a/linux/2007/05/24/semaphores-in-linux.html?page=1
in this link, the author says "In general, the older Unix-based systems uses
the System V version and the current Linux-based systems use the POSIX
version."
The System V uses semget()... and POSIX uses sem_init...
However, in my company's Linux system, the gcc compiles semget()...
succesfu
l*****g
发帖数: 547
2
I tried examples from richard stevens' book, no problem.

uses

【在 n**d 的大作中提到】
: 【 以下文字转载自 Linux 讨论区 】
: 发信人: noid (DoIneedit?), 信区: Linux
: 标 题: Semaphores in Linux
: 发信站: BBS 未名空间站 (Sat Jan 10 00:14:53 2009)
: http://www.linuxdevcenter.com/pub/a/linux/2007/05/24/semaphores-in-linux.html?page=1
: in this link, the author says "In general, the older Unix-based systems uses
: the System V version and the current Linux-based systems use the POSIX
: version."
: The System V uses semget()... and POSIX uses sem_init...
: However, in my company's Linux system, the gcc compiles semget()...

1 (共1页)
进入Unix版参与讨论
相关主题
help needed-install gcc/g++ 4.7 on ubuntu 14.04Questions about Makefile
file descriptor[转载] 请教三个关于emacs和perl的问题
[转载] alarm, pause 又一问A tough compiler problem
A Unix question[转载] molscript and grasp
Unix semaphorewhere is libstdc++
Does Linux support thread?GCC的编译?
问:用惯linux的人适不适合转Mac OS??漆血柜求
Unix下好好的到了linux下segment fault[转载] ask a question.
相关话题的讨论汇总
话题: linux话题: semaphores话题: system话题: uses话题: semget