EnglishJapanese Reload Front page List of pages Search Recent changes RSS of recent changes

Back to the top page
Back to the upper page

Function members

  • union semun
    • int val
    • struct semid_ds* buf
    • unsigned short* array
    • struct seminfo* buf

public

private

  • int fKey
  • int fID
  • bool fIsValid
  • struct sembuf fSemaphore

Function documents

  • TArtSemaphore(int semkey)
    Generate semaphore associated semkey and assign true to fIsValid.
  • void Lock()
    Lock semaphore.
  • void UnLock()
    Unlock semephore.
  • bool IsValid()
    Return fIsValid.
Last-modified: Sun, 11 Dec 2011 23:45:22 HADT (3572d)