OpenBSD manual page server

Manual Page Search Parameters

DOLOCK(1) General Commands Manual DOLOCK(1)

dolocklock port for concurrent builds

dolock lockname

dolock creates a lock named lockname using open(2). If the lock is already held, it will display one single wait message on stderr, sleep and retry until satisfaction.

This implements a locking mechanism for ports building, see ‘LOCK INFRASTRUCTURE’ in ports(7) for details. See also dbp(1) for a complementary lock infrastructure when using dpb.

September 9, 2010 OpenBSD-5.5