Tell me about different kinds of synchranization objects ?
Answers were Sorted based on User's Feedback
Answer / venkatesh
Windows supports 4 types of synchronization objects that
can be used to synchronize the actions performed by
concurrently used threads.
1) Critical Sections:
2) Mutexes
3) Events
4) Semaphores.
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / abhijit
sorry... i misread the question... please disregard my
previous answer
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ratnesh sachan
Synchronization objects are variables in memory that you
access just like data. Threads in different processes can
communicate with each other through synchronization objects
placed in threads in different processes are generally
invisible to each other.
1:-Mutex Locks
2:-Condition Variables
3:-Read Write Locks
4:-Semaphones
| Is This Answer Correct ? | 0 Yes | 1 No |
Why Array Index starts from Zero
What is the size of class
How to find the mouse entering an image?..while entering need to display next image...
how to repaint when working with horizontal scroll bar
how u can move CDC pointer to one line in cview?
How to handle dynamic menus in MFC?
What is primitive and non-primitive application?
How to convert a CString variable to char* or LPTSTR?
If application hangs while SendMessage is waiting for the result, how you handle it?
how can u change button shape at run time
Hi can anyone explain about the synchronization objects types and where we are using in the code.
Hi All, I have created one MFC Dialog Based application.now if i am running the application its working fine,instead of closing he application i minimized the application,if i run the application again,i am getting the Dialog. I want to prevent the calling of application multiple times. please give me the code and let me know in which method i need to make changes. Praveer