educative.io

Semaphores are lightweight when compared to monitors?

Hi,

My question is how did we decide that Semaphore is light weight than Monitors? I am confused in general, when people say object X is light weight and object Y is heavy weight.

Can you please help me learn, how to decide?

Thanks,
Mohit