Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
ipcILockService Interface Reference

This service provides named interprocess locking. More...

import "ipcILockService.idl";

Inheritance diagram for ipcILockService:
Inheritance graph
[legend]
Collaboration diagram for ipcILockService:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void acquireLock (in string aLockName, in boolean aWaitIfBusy)
 Call this method to acquire a named interprocess lock.
void releaseLock (in string aLockName)
 Call this method to release a named lock.

Detailed Description

This service provides named interprocess locking.

Definition at line 44 of file ipcILockService.idl.


Member Function Documentation

void ipcILockService::acquireLock ( in string  aLockName,
in boolean  aWaitIfBusy 
)

Call this method to acquire a named interprocess lock.

Parameters:
aLockNamespecifies the name of the lock
aWaitIfBusywait for the lock to become available; otherwise, fail if lock is already held by some other process.

Call this method to release a named lock.

Parameters:
aLockNamespecifies the name of the lock

The documentation for this interface was generated from the following file: