[Bug 197365] pthread_barrier_destroy() return EBUSY on idle barrier

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Feb 6 12:19:08 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197365

--- Comment #1 from commit-hook at 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 at 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.


More information about the freebsd-threads mailing list