A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classCInterProcessLock.html below:

NCBI C++ ToolKit: CInterProcessLock Class Reference

CInterProcessLock –.

Simple inter-process lock.

When the process terminates (normally or otherwise) all locks will be removed automaticaly. On Unix, the lock file can be left in the filesystem, but the lock itself will be removed anyway and the lock file can be reused.

Please consider to use class CGuard<> for locking resources in an exception-safe manner. See also CInterProcessLock_Guard to help specify timeouts for the locking operation when using CGuard<>.

The lock can be safely acquired from different threads (and, with all timeouts observed).

Examples
/home/coremake/doxygen/cxx/include/corelib/interprocess_lock.hpp.

Definition at line 77 of file interprocess_lock.hpp.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4