Mutex.GetSavedOwnerInfo

Syntax

Mutex.GetSavedOwnerInfo( threadId, threadDisplayName, homeSyncMgr)

Purpose

Note This method is obsolete.

Remarks

Do not call this method. This method is for internal use only to implement deadlock reporting.

Notice This method is unsafe to call externally and can crash the application. This method accesses internal data in a manner that is not synchronized for external use.

Parameters

threadId As String

[Out] Returns a globally unique thread ID (GUID) for the thread that performs the operation.

threadDisplayName As String

[Out] Returns a display name to identify the current thread.

homeSyncMgr As SyncManager

[Out] Returns the local version of the TestStand Synchronization Manager. When you use the TestStand Engine , National Instruments recommends that you call the Engine.GetSyncManager method on a local version of the TestStand Engine to obtain the value to pass for this parameter. This parameter is used for deadlock detection purposes.

Notice You can pass a NULL reference for this parameter but doing so causes deadlock detection to function incorrectly. When deadlock occurs, the application might hang.

See Also

Engine.GetSyncManager

TestStand Engine

Thread.UniqueThreadId