summaryrefslogtreecommitdiff
path: root/devel/p5-Params-Validate
diff options
context:
space:
mode:
authoragc <agc>2002-01-19 21:29:41 +0000
committeragc <agc>2002-01-19 21:29:41 +0000
commite13a9f9ce7deaca020993e1110a81975d11bc8af (patch)
tree1c7f29838f14cee7e116674d22a180e6efa01a47 /devel/p5-Params-Validate
parentac2281352d11fa16ea4ff8d1d94c5a3d7bb08c73 (diff)
downloadpkgsrc-e13a9f9ce7deaca020993e1110a81975d11bc8af.tar.gz
Add coarse-grained locking to pkgsrc builds, by means of a beefed
up version of the bare-bones code in PR 7590, from David Maxwell. The definition governing the type of locking used is PKGSRC_LOCKTYPE, which can take any of the values "none", "sleep", and "once". The default is "none". If "sleep" locking is used, and process A is building a package, when process B attempts to build the same package, process B will sleep for PKGSRC_SLEEPSECS seconds, and attempt to grab the lock again. Coarse-grained locking uses the OBJHOSTNAME definition to ensure that the PID space is regular for shlock(1) to do its work. The pkgsrc/pkgtools/shlock package has been provided for environments where shlock is not standard.
Diffstat (limited to 'devel/p5-Params-Validate')
0 files changed, 0 insertions, 0 deletions