Posted: Fri Oct 26, 2007 4:24 pm
Oh now I see... I always knew that my viewpoint that a programmer needs to take care of that will always lead me to trouble
As I keep advancing I'm getting some real dumb doubts... I don't understand the difference between User Semaphores and Kernel Semaphores... Do they differ only based on where they are implemented...? In that case, I was wondering if two threads of the same process could be synchroinzed using a kernel semaphore if the threads themselves are implemented by a kernel.. I feel that kernel threads should never need semaphores while if they are being implemented at the user level, they can be synchronized using kernel semaphores...
I'm a little confused now so if there was any mistake, kindly correct me....
As I keep advancing I'm getting some real dumb doubts... I don't understand the difference between User Semaphores and Kernel Semaphores... Do they differ only based on where they are implemented...? In that case, I was wondering if two threads of the same process could be synchroinzed using a kernel semaphore if the threads themselves are implemented by a kernel.. I feel that kernel threads should never need semaphores while if they are being implemented at the user level, they can be synchronized using kernel semaphores...
I'm a little confused now so if there was any mistake, kindly correct me....