Expand description
Concurrency transformation module for pthread → Rust std::sync conversions.
Transforms C pthread synchronization primitives to safe Rust equivalents:
- pthread_mutex_t + data →
Mutex<T> - pthread_mutex_lock/unlock →
.lock().unwrap()with RAII
Part of DECY-078: Transform pthread_mutex to Mutex<T>
Functions§
- has_
pthread_ mutex_ calls - Checks if a function contains any pthread mutex operations.
- identify_
lock_ regions - Identifies lock regions in a function body.
- is_
pthread_ lock - Detects if a function call is a pthread mutex lock operation.
- is_
pthread_ unlock - Detects if a function call is a pthread mutex unlock operation.