[Libguestfs] [nbdkit PATCH 0/4] thread-safety issues prior to parallel handling

Eric Blake eblake at redhat.com
Fri Nov 17 03:13:54 UTC 2017


These patches should be ready to go in now; I will also post my
work-in-progress for enabling full parallel handling that depends
on these, but with that series, I was still getting crashes or
hangs with test-socket-activation (I think I've nailed all the
crashes I've seen, but the hang is rather insidious; see my other
email https://www.redhat.com/archives/libguestfs/2017-November/msg00139.html)

Eric Blake (4):
  errors: Avoid interleaved errors from parallel threads
  threadlocal: Copy thread name
  plugins: Make plugin_name() reliable past unload
  sockets: Fix lifetime of thread_data

 src/errors.c      | 30 +++++++++++++++++++++++++++++-
 src/plugins.c     |  8 ++++++--
 src/sockets.c     | 27 ++++++++++++++++++---------
 src/threadlocal.c | 17 +++++++++++++----
 4 files changed, 66 insertions(+), 16 deletions(-)

-- 
2.13.6




More information about the Libguestfs mailing list