dma(8): Fix race condition in multi-recipient delivery

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Thu Jul 16 02:05:39 PDT 2009


Daniel Roethlisberger wrote:
Daniel Roethlisberger <daniel at roe.ch> 2009-07-10:
I guess it is easier to lock the queue file instead of fully
reopening and fixing the unlink() race.
I cleaned up my original hack, maybe this version is a tad more
convincing :)
This doesn't work for me.  All processes are stuck in state lockf.  I 
think we can't reliably combine fcntl locks and flock locks.

cheers
  simon
--
  <3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /"\
  rock the past  +++  space for low CHF NOW!1  +++     Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \




More information about the Submit mailing list