Take this pseudo code,
Semaphore S <- 0 non-critical section wait(S) critical section signal(S)
Does this solution to the critical section problem support mutual exclusion only?
I know that there is no freedom from deadlock since the critical section is never reached, however would that also mean that it does not support mutual exclusion.