×

Loading...

Topic

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:-)
    • for synchronize, check semget/semop/semctl
      • 很久没做程序了,说错了别骂我,记得semget, semop,ftok这一套是SUNOS的ipcs的 一部份巴,期中的key management(ftok)最ugly了,
        我们以前都用posix 的东西,
        比如 shm_open, 然后mmap,用POSIX的,好处是portable...,SUNOS的东西根本不
        PORTABLE,能少用就少用。
        • I think they are posix , but i am not sure either:-) I haven't touch these stuff after graducate from univ. years passed :-)
    • 多谢. 不过...
      你把名字拚错了, starshower, 以后还是叫我kevin2000吧.
      • sure