Define busy waiting and spinlock.
When a process is in its critical section, any other process that tries to enter its critical section must loop continuously in the entry code. This is known as busy waiting and this type of semaphore is also known as a spinlock, because the process whereas waiting for the lock.