This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / to starshawn:for the share memory stuff: check these function(shmat/shmdt/shmctl) in man page.
just finish playing the cards:-)
-blaise(会爬树的老虎);
2001-10-3
{116}
(#215408@0)
-
for synchronize, check semget/semop/semctl
-blaise(会爬树的老虎);
2001-10-3
(#215409@0)
-
很久没做程序了,说错了别骂我,记得semget, semop,ftok这一套是SUNOS的ipcs的
一部份巴,期中的key management(ftok)最ugly了,我们以前都用posix 的东西,
比如 shm_open, 然后mmap,用POSIX的,好处是portable...,SUNOS的东西根本不
PORTABLE,能少用就少用。
-stinky(funky);
2001-10-3
{126}
(#215414@0)
-
I think they are posix , but i am not sure either:-) I haven't touch these stuff after graducate from univ. years passed :-)
-blaise(会爬树的老虎);
2001-10-3
(#215421@0)
-
多谢. 不过...你把名字拚错了, starshower, 以后还是叫我kevin2000吧.
-kevin2000(流星雨);
2001-10-4
{52}
(#216229@0)
-
sure
-blaise(会爬树的老虎);
2001-10-4
(#216532@0)