LockScopes (GVL)ΒΆ

Scopes for mutual-exclusion locks to be used with the dwLockScope parameters of the functions IoMgrLockEnter() and IoMgrLockLeave(). Note: Use both locks IOMGR_LOCK_WRITE_OUTPUTS OR IOMGR_LOCK_READ_INPUTS in the function IoDrvStartBusCycle().

InOut:

Scope

Name

Type

Initial

Comment

Constant

IOMGR_LOCK_READ_INPUTS

DWORD

16#1

Lock critical sections in IoDrvReadInputs() and IoDrvStartBusCycle().

IOMGR_LOCK_WRITE_OUTPUTS

DWORD

16#2

Lock critical sections in IoDrvWriteOutputs() and IoDrvStartBusCycle().