Click here to Skip to main content
15,915,813 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: threading Pin
deeps_cute19-Mar-07 0:10
deeps_cute19-Mar-07 0:10 
QuestionRe: threading Pin
Programm3r19-Mar-07 0:11
Programm3r19-Mar-07 0:11 
AnswerRe: threading Pin
deeps_cute19-Mar-07 0:15
deeps_cute19-Mar-07 0:15 
AnswerRe: threading Pin
Roger Stoltz19-Mar-07 0:15
Roger Stoltz19-Mar-07 0:15 
GeneralRe: threading Pin
deeps_cute19-Mar-07 0:17
deeps_cute19-Mar-07 0:17 
GeneralRe: threading Pin
Roger Stoltz19-Mar-07 0:25
Roger Stoltz19-Mar-07 0:25 
AnswerRe: threading Pin
David Crow19-Mar-07 2:28
David Crow19-Mar-07 2:28 
QuestionCMultiLock Pin
_808618-Mar-07 23:12
_808618-Mar-07 23:12 
Can someone give an example on where to use CMultilocks? A snippet. What does it do actually?

To use a CMultiLock object, first create an array of the synchronization objects that you wish to wait on. Next, call the CMultiLock object's constructor inside a member function in the controlled resource's class. Then call the Lock member function to determine if a resource is available (signaled). If one is, continue with the remainder of the member function. If no resource is available, either wait for a specified amount of time for a resource to be released, or return failure. After use of a resource is complete, either call the Unlock function if the CMultiLock object is to be used again, or allow the CMultiLock object to be destroyed.

A snippet please.


Frown | :(
AnswerRe: CMultiLock Pin
prasad_som19-Mar-07 0:40
prasad_som19-Mar-07 0:40 
GeneralRe: CMultiLock Pin
_808619-Mar-07 8:00
_808619-Mar-07 8:00 
AnswerRe: CMultiLock Pin
prasad_som19-Mar-07 18:07
prasad_som19-Mar-07 18:07 
QuestionRessource Editor Pin
baerten18-Mar-07 23:02
baerten18-Mar-07 23:02 
AnswerRe: Ressource Editor Pin
prasad_som19-Mar-07 0:08
prasad_som19-Mar-07 0:08 
GeneralRe: Ressource Editor Pin
baerten19-Mar-07 0:55
baerten19-Mar-07 0:55 
AnswerRe: Ressource Editor Pin
prasad_som19-Mar-07 1:04
prasad_som19-Mar-07 1:04 
GeneralRe: Ressource Editor Pin
David Crow19-Mar-07 2:32
David Crow19-Mar-07 2:32 
GeneralRe: Ressource Editor Pin
baerten19-Mar-07 3:11
baerten19-Mar-07 3:11 
General[OT] Pin
prasad_som19-Mar-07 3:40
prasad_som19-Mar-07 3:40 
GeneralRe: [OT] Pin
baerten19-Mar-07 4:12
baerten19-Mar-07 4:12 
GeneralRe: [OT] Pin
prasad_som19-Mar-07 4:16
prasad_som19-Mar-07 4:16 
GeneralRe: [OT] Pin
baerten19-Mar-07 4:28
baerten19-Mar-07 4:28 
QuestionSAP and VC++ Pin
Programm3r18-Mar-07 22:50
Programm3r18-Mar-07 22:50 
QuestionRetriving fields value of UI application Pin
Shiva Prasad18-Mar-07 22:25
Shiva Prasad18-Mar-07 22:25 
AnswerRe: Retriving fields value of UI application Pin
ThatsAlok18-Mar-07 23:05
ThatsAlok18-Mar-07 23:05 
GeneralRe: Retriving fields value of UI application Pin
Shiva Prasad19-Mar-07 0:00
Shiva Prasad19-Mar-07 0:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.