puzzlecracker wrote:
what is the difference between critical section, mutex and semophore?
With respect to this newsgroup, none. All are off-topic, since comp.lang.c++
only deals with standard C++, which doesn't support any of those concepts.
You should ask this question in comp.programming.threads.