old

Section: User Commands (1)
Updated: 2003-12-23
Index Return to Main Contents
 

NAME

old - Open Lock Daemon  

SYNOPSIS

old [nthreads]  

DESCRIPTION

old is a simple lock server which provides central point where to lock resources in a distributed environment by using TCP/IP to communicate with its clients.

It provides basic locking primitives (lock, unlock and trylock) that handle objects identified by strings of any kind, so it's really a general purpose server that you can use to lock anything, from files to pointers, as long as you name them using a coherent object naming scheme.

The network protocol is quite lightweight and simple, it's documented in the source package. There's also a library called libold(3) that provides the primitives as simple functions pretty much like pthreads does.  

OPTIONS

nthreads
Tell the number of processing threads to start. It defaults to 1, and it should be the same number of processors you have on your system. Note that there is no point in incresing it more, because old is entirely CPU bound and it might even slowdown things.
 

SEE ALSO

libold(3)  

AUTHOR

old was written by Alberto Bertogli (albertogli@telpin.com.ar). The website is at http://users.auriga.wearlab.de/~alb/old/


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 18:53:59 GMT, December 23, 2003