git: dsynth - Protect threaded dbm_store() calls

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Apr 20 08:23:07 PDT 2022


commit 7b5ce327dbcc312a09b33c4ea55501ac94271f97
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Apr 19 21:27:17 2022 -0700

    dsynth - Protect threaded dbm_store() calls
    
    * dsynth makes multi-threaded calls to dbm_store(), default
      to throwing a mutex around the call to avoid dbm corruption.
    
      (libc will also be fixed to make dbm_*() calls thread-safe in
      another commit, this is a catch-all).

Summary of changes:
 usr.bin/dsynth/build.c | 8 ++++++++
 1 file changed, 8 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7b5ce327dbcc312a09b33c4ea55501ac94271f97


-- 
DragonFly BSD source repository



More information about the Commits mailing list