|
-
June 29th, 2010, 10:54 PM
#1
Help with Semaphore
Usually semaphore is used to allow a certain number of threads to access the resources at the same time. So it is possible for two or more than two threads to access the same resource at the same time, which means there is potential danger of race condition. I wander how semaphore manages to synchronize the access of the resource? Thanks for your inputs.
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
|