Re: question about re-entrancy.

[ Available lists | Index of freebsd-hackers | Month of Jan 1999 | Week of 5 Jan 1999 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Nate Williams <nate@mt.sri.com>
Date
5 Jan 1999 14:42:44
Subject
Re: question about re-entrancy.
Message-ID
199901052242.PAA10308@mt.sri.com

In reply to
Referenced by

[ Hide this part ]
> >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


Elapsed time: 0.141 seconds