Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 2010 19:03:11 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sbin/hastd primary.c secondary.c
Message-ID:  <201009221903.o8MJ3KFv048907@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
pjd         2010-09-22 19:03:11 UTC

  FreeBSD src repository

  Modified files:
    sbin/hastd           primary.c secondary.c 
  Log:
  SVN rev 213007 on 2010-09-22 19:03:11Z by pjd
  
  Fix possible deadlock where worker process sends an event to the main process
  while the main process sends control message to the worker process, but worker
  process hasn't started control thread yet, because it waits for reply from the
  main process.
  
  The fix is to start the control thread before sending any events.
  
  Reported and fix suggested by:  Mikolaj Golub <to.my.trociny@gmail.com>
  MFC after:      3 days
  
  Revision  Changes    Path
  1.30      +12 -4     src/sbin/hastd/primary.c
  1.15      +14 -4     src/sbin/hastd/secondary.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009221903.o8MJ3KFv048907>