System Console and Toolkit Tcl Command Reference Manual

ID 683101
Date 3/28/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

1.1.166. sld_lock

Description

Locks the device that this SLD node belongs to for exclusive access. If the device is locked by another client, it will try for <timeout> milliseconds before giving up. Multiple locks by the same client are permitted but must each have a matching unlock. Returns 0 for success, -1 for any errors.

Usage

sld_lock <service-path> <timeout>

ReturnType

int

Returns

0 for success, -1 for any errors.

Arguments

service-path
Service path
timeout
Timeout in milliseconds