---
name: "Script_Locks"
section: "3"
platform: "linux"
package: "libccscript-dev"
version: "2.5.7-1"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/Script_Locks"
---

# Script\_Locks(3)

This class holds a distributed lock set used for global script locks and the new lock/unlock commands. global lock table.

## NAME

Script::Locks - This class holds a distributed lock set used for global script locks and the new lock/unlock commands. global lock table.

## SYNOPSIS

`#include <script.h>`

### Public Methods

void **release** (**ScriptInterp** \*interp)\
 bool **lock** (**ScriptInterp** \*interp, const char \*id)\
 bool **unlock** (**ScriptInterp** \*interp, const char \*id)\
 **Locks** ()\

## DETAILED DESCRIPTION

This class holds a distributed lock set used for global script locks and the new lock/unlock commands. global lock table.

**Author:**  David Sugar \<dyfet@ostel.com\>

## AUTHOR

Generated automatically by Doxygen for ccScript from the source code.
