createOMOSSemaphore

此方法會建立號誌。

可見性

Public

簽章
virtual OMOSSemaphore* createOMOSSemaphore(
   unsigned long semFlags = 0, unsigned long 
   initialCount = 1, unsigned long maxCount = 1, 
   const char * const name = NULL) = 0;
參數
semFlags

號誌旗標

initialCount

號誌上可用的起始記號計數

maxCount

記號數上限

名稱

號誌的名稱

傳回

新號誌


意見回饋