> >A 'critical section of code' is a portion of the code that is accessing
> >a shared resource, which can be protected by using an object lock.
>
> Erm, make that "...accessing *one or more* shared resources.", which is why
> it isn't the same thing as an object lock (except in the degenerate case).
Sure it is. The object lock is used to 'protect' the shared resources.
This is multithreading/tasking 101 stuff, not rocket science.
Nate
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message