I have a project that consists in creating different processes which must interact with shared resources and control them by means of traffic lights.
I do not have much idea of how to face it, any recommendations to read or practical examples that can serve as a guide?