木头云 c21138b5b4 test(locks): add comprehensive unit tests for spin_lock and rw_lock
- Test spin_lock basic operations and mutual exclusion
- Test spin_lock critical section protection
- Test spin_lock concurrent access and contention
- Test rw_lock write lock (exclusive access)
- Test rw_lock read lock (shared access)
- Test multiple concurrent readers
- Test writers have exclusive access
- Test readers and writers don't overlap
- Test various read-write patterns
- Test rapid lock/unlock operations
- Test mixed concurrent operations
- Test write lock blocks readers correctly
2025-11-30 04:14:52 +00:00
..
archive chore(test): archive existing test cases to test/archive 2025-11-30 04:04:10 +00:00
test_buffer.cpp test(buffer): add comprehensive unit tests for ipc::buffer 2025-11-30 04:10:07 +00:00
test_condition.cpp test(condition): add comprehensive unit tests for ipc::sync::condition 2025-11-30 04:13:57 +00:00
test_locks.cpp test(locks): add comprehensive unit tests for spin_lock and rw_lock 2025-11-30 04:14:52 +00:00
test_mutex.cpp test(mutex): add comprehensive unit tests for ipc::sync::mutex 2025-11-30 04:12:14 +00:00
test_semaphore.cpp test(semaphore): add comprehensive unit tests for ipc::sync::semaphore 2025-11-30 04:13:04 +00:00
test_shm.cpp test(shm): add comprehensive unit tests for shared memory 2025-11-30 04:11:13 +00:00