class lock
{
 enum{"read", "write","free"}status;
};
By default, make status value as "free".
Based on the request, status value will be changed...
Based on the value of the status, we should decide whether another
read/write lock can be given.

Any suggestions ?
On Thu, Jun 28, 2012 at 4:46 PM, Ashish Goel <[email protected]> wrote:

>
> Best Regards
> Ashish Goel
> "Think positive and find fuel in failure"
> +919985813081
> +919966006652
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to