Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Feb 2015 12:19:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-threads@FreeBSD.org
Subject:   [Bug 197365] pthread_barrier_destroy() return EBUSY on idle barrier
Message-ID:  <bug-197365-16-bbWeVsKuzL@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-197365-16@https.bugs.freebsd.org/bugzilla/>
References:  <bug-197365-16@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197365

--- Comment #1 from commit-hook@freebsd.org ---
A commit references this bug:

Author: kib
Date: Fri Feb  6 12:18:39 UTC 2015
New revision: 278313
URL: https://svnweb.freebsd.org/changeset/base/278313

Log:
  Fully initialize allocated memory for the new barrier.  The
  b_destroying member was left uninitialized, which caused spurious
  EBUSY.

  PR:    197365
  Noted by:    Florent Guiliani <fguiliani@verisign.com>
  Sponsored by:    The FreeBSD Foundation
  MFC after:    1 week

Changes:
  head/lib/libthr/thread/thr_barrier.c

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197365-16-bbWeVsKuzL>