Open SofiaRomeiro opened 2 years ago
only rwlocks remaining in operations.c! ISSUE: Do we need to create 2 different functs for mutex and rwlock? Or can we just add a flag to the function so it knows what lock is dealing with?
only rwlocks remaining in operations.c! ISSUE: Do we need to create 2 different functs for mutex and rwlock? Or can we just add a flag to the function so it knows what lock is dealing with?
Flags with ENUM
Make mutexes and locks more OOP like to avoid having explicit lock and unlock in
operations.c