Skip to content

Commit b4ad3c6

Browse files
committed
test(mutex): add comprehensive unit tests for ipc::sync::mutex
- Test mutex construction (default and named) - Test lock/unlock operations - Test try_lock functionality - Test timed lock with various timeout values - Test critical section protection - Test concurrent access and contention scenarios - Test inter-thread synchronization with named mutex - Test resource cleanup (clear, clear_storage) - Test native handle access - Test edge cases (reopen, zero timeout, rapid operations) - Test exception safety of try_lock
1 parent 280a21c commit b4ad3c6

File tree

1 file changed

+501
-0
lines changed

1 file changed

+501
-0
lines changed

0 commit comments

Comments
 (0)