SEMAPHORE

Returns semaphore information

Service:Synchronization
Defined In:nwsync.h

Structure

  typedef struct 
  { 
     NWCONN_NUM   connNumber; 
     nuint16      taskNumber; 
  } SEMAPHORE;
  

Delphi Structure

  uses calwin32 
   
    SEMAPHORE = packed Record 
      connNumber : nuint16;  
      taskNumber : nuint16;
    End;
  

Fields

connNumber
Specifies the logical connection number of the connection that is using the semaphore.
taskNumber
Specifies the task number of the logical connection that has the semaphore open.