arch-repo-manager/librepomgr/buildactions
Martchus 7ade757c8d Avoid locking whole config when updating DBs
* Only lock the config for writing the reloading the config file
* Make sure all write operations to the database acquire an "update mutex"
  to ensure only one write operation happens at a time
* Do *not* acquire any additional locks when reading from a database as it
  should be safe to do so even when a write operation happens because
    * LMDB read and write transactions can happen at the same time
    * The package cache has its own mutex anyways
    * Write ops to the package cache try to lock the "update mutex" to
      prevent writing "old" data to the cache during updates
* Make "lastUpdate" atomic to avoid locking the config when accessing it
2022-03-05 18:55:52 +01:00
..
buildaction.cpp Fix typos 2022-03-01 00:43:06 +01:00
buildaction.h Fix varoius build action related problems 2022-02-22 22:49:40 +01:00
buildactionfwd.h lmdb: Use lmdb to store build actions 2022-02-13 21:04:54 +01:00
buildactionlivestreaming.cpp Fix varoius build action related problems 2022-02-22 22:49:40 +01:00
buildactionmeta.cpp Allow reloading library dependencies of specific packages 2022-03-04 21:51:25 +01:00
buildactionmeta.h Allow ignoring copying errors due to existing files when moving packages 2022-02-16 19:47:25 +01:00
buildactionprivate.h Allow reloading library dependencies of specific packages 2022-03-04 21:51:25 +01:00
buildactiontemplate.cpp Allow specifying build tasks with more complicated build actions 2021-04-02 00:14:00 +02:00
buildactiontemplate.h Allow specifying build tasks with more complicated build actions 2021-04-02 00:14:00 +02:00
conductbuild.cpp Fix building packages using signed git repositories as source 2022-02-25 23:09:16 +01:00
customcommand.cpp Avoid copying strings when splitting lock names for custom command 2021-07-25 00:41:46 +02:00
makelicenseinfo.cpp Write build action "output" log to a logfile like for sub-processes 2022-02-20 00:11:23 +01:00
preparebuild.cpp Remove useless blank line 2022-02-03 22:07:22 +01:00
reloadconfiguration.cpp Initial import 2021-02-08 23:53:56 +01:00
reloaddatabase.cpp Avoid locking whole config when updating DBs 2022-03-05 18:55:52 +01:00
reloadlibrarydependencies.cpp Avoid locking whole config when updating DBs 2022-03-05 18:55:52 +01:00
repomanagement.cpp Avoid locking whole config when updating DBs 2022-03-05 18:55:52 +01:00
subprocess.h Write build action "output" log to a logfile like for sub-processes 2022-02-20 00:11:23 +01:00
subprocessfwd.h Initial import 2021-02-08 23:53:56 +01:00
updatecheck.cpp lmdb: Use lmdb to store packages and dependency indices 2022-01-18 21:50:53 +01:00