[Bug 220767] lang/beignet: hangs if consumer is not linked against libpthread after jemalloc 5.0.0 update

[email protected]
Newsgroups gmane.os.freebsd.devel.threading
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220767

--- Comment #4 from Jan Beich <[email protected]> ---
Do we have tests for base r276630? For one, jemalloc 5.0.0 changed

  bool
  malloc_mutex_first_thread(void)
  {

  #ifdef JEMALLOC_MUTEX_INIT_CB
          postpone_init = false;
          while (postponed_mutexes != NULL) {
                  if (_pthread_mutex_init_calloc_cb(&postponed_mutexes->lock,
                      bootstrap_calloc) != 0)
                          return (true);
                  postponed_mutexes = postponed_mutexes->postponed_next;
          }
  #endif
          return (false);
  }

into

  bool
  malloc_mutex_first_thread(void) {

  #ifndef JEMALLOC_MUTEX_INIT_CB
          return (malloc_mutex_first_thread());
  #else
          return (false);
  #endif
  }

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-threads
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.