Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

ddLockPath

ddLockPath( 
t_filePath 
) 
=> b_lockId 

Description

Creates a handle that allows you to lock the file and returns a lock ID for the file. Once you call ddLockFree, all references to that lock ID become invalid.

This function uses the Cadence locking system (CLS) instead of cdsd.

Arguments

t_filePath

The path to the file. The path must be a file (only files need to have locks).

Value Returned

b_lockId

The lock ID of the specified file. If the path has a lock on it, any subsequent requests to lock that path get the same lock ID.

Examples

ddLockPath( "/tmp/myFile" ) => dd:2542360 
ddLockPath( ddGetObjWritePath( myViewFile ) ) => dd:2542360

Return to top
 ⠀
X