CONN_SEMAPHORE

Returns semaphore information list

Service:Synchronization
Defined In:nwsync.h

Structure

  typedef struct 
  { 
     nuint16   openCount; 
     nuint16   semaphoreValue;  
     nuint16   taskNumber; 
     nstr8     semaphoreName[128]; 
  } CONN_SEMAPHORE;
  

Delphi Structure

  uses calwin32 
   
   CONN_SEMAPHORE = packed Record 
      openCount : nuint16;  
      semaphoreValue : nuint16;  
      taskNumber : nuint16;  
      semaphoreName : Array[0..127] Of nstr8; 
    End;
  

Fields

openCount
Specifies the number of connections that have the semaphore open for use.
semaphoreValue
Specifies the current value of the semaphore.
taskNumber
Specifies the number of the connection's task that is using the semaphore.
semaphoreName
Specifies the name of the semaphore.