CI updates

This commit is contained in:
Markus F.X.J. Oberhumer
2023-08-27 13:30:51 +02:00
parent b526eed346
commit 25a3c109c1
24 changed files with 59 additions and 42 deletions
+2
View File
@@ -65,6 +65,7 @@ PackMaster::PackMaster(InputFile *f, Options *o) noexcept : fi(f) {
// replace global options with local options
if (o != nullptr) {
#if WITH_THREADS
// TODO later: check for possible "noexcept" violation here
std::lock_guard<std::mutex> lock(opt_lock_mutex);
#endif
saved_opt = o;
@@ -78,6 +79,7 @@ PackMaster::~PackMaster() noexcept {
// restore global options
if (saved_opt != nullptr) {
#if WITH_THREADS
// TODO later: check for possible "noexcept" violation here
std::lock_guard<std::mutex> lock(opt_lock_mutex);
#endif
opt = saved_opt;