]> git.ipfire.org Git - people/ms/dma.git/commit - spool.c
dma: don't block when trying to aquire a queue file
authorSimon Schubert <corecode@dragonflybsd.org>
Tue, 21 Jul 2009 23:21:44 +0000 (01:21 +0200)
committerSimon Schubert <corecode@dragonflybsd.org>
Tue, 21 Jul 2009 23:21:44 +0000 (01:21 +0200)
commit8e4fa698d616a511a80b5ce585375941b45e4511
treed3b4888c9ee29f95b3ed751f132de24f8ae36474
parent5445c73bc9e5e2d61971f50e6043e0c2edce2bd8
dma: don't block when trying to aquire a queue file

We might race with some other process, so it is imperative to treat a
locked file as a soft error instead of blocking on the file until the
other process unlocks it.
spool.c