-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathold.1
33 lines (31 loc) · 1.2 KB
/
old.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
.TH "old" 1 "2003-12-23"
.SH "NAME"
old - Open Lock Daemon
.SH "SYNOPSIS"
.B old
.I [nthreads]
.SH "DESCRIPTION"
.B 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.
.PP
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.
.PP
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.
.SH "OPTIONS"
.TP
.B 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.
.SH "SEE ALSO"
libold(3)
.SH "AUTHOR"
old was written by Alberto Bertogli ([email protected]). The website is
at http://users.auriga.wearlab.de/~alb/old/