Files
jevb a24dbd5d55 feat: add syncutil mutex, test scaffolding, and server hardening
- Add syncutil package with deadlock-detecting mutex (build-tag switchable)
- Add main_test.go TestMain scaffolding across all server packages
- Harden concurrency in ws, admin, auth, and updater packages
- Update CI workflow, go.mod/sum, Cargo.lock, and root changelogen tooling
2026-04-01 12:04:15 +02:00

13 lines
325 B
Go

//go:build deadlock
package syncutil
import "github.com/sasha-s/go-deadlock"
// Mutex is deadlock.Mutex when built with -tags=deadlock.
// It detects potential deadlocks via lock ordering analysis.
type Mutex = deadlock.Mutex
// RWMutex is deadlock.RWMutex when built with -tags=deadlock.
type RWMutex = deadlock.RWMutex