|
-
April 9th, 1999, 04:56 AM
#1
CCriticalSection
Hi,
I have some procedures which all are searching and modifying an array. My program can be called at the same time by more than one person, so i have to prevent that all users are working in that array at the same time.
is it possible to solve this with following code in each procedure which uses this array?
{
CCriticalSection cs;
cs.Lock()
// my code
cs.Unlock()
}
I hope u can help me.
Thanx in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|