Click here to Skip to main content
15,926,035 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Handles of Threads Pin
Antony M Kancidrowski7-Jun-04 4:11
Antony M Kancidrowski7-Jun-04 4:11 
GeneralRe: Handles of Threads Pin
Mike Dimmick7-Jun-04 4:16
Mike Dimmick7-Jun-04 4:16 
GeneralServer-Client Pin
Billar7-Jun-04 3:46
Billar7-Jun-04 3:46 
GeneralRe: Server-Client Pin
jmkhael7-Jun-04 4:57
jmkhael7-Jun-04 4:57 
GeneralLoading Addin Pin
vishalmore7-Jun-04 3:45
vishalmore7-Jun-04 3:45 
GeneralDeployment (Ms Issue ??) Pin
sweep1237-Jun-04 3:34
sweep1237-Jun-04 3:34 
GeneralRe: Deployment (Ms Issue ??) Pin
Johan Rosengren7-Jun-04 5:27
Johan Rosengren7-Jun-04 5:27 
QuestionHow to Share a Resource with 2 Timers Pin
jerry1211a7-Jun-04 3:23
jerry1211a7-Jun-04 3:23 
I have a Visual C++ application with 2 timers. Each timer implements a piece of code that accesses a resource that may need to be shared.

In other words, there may be some overlap with the timers where the code implemented by each timer may require access to the same resource. Can each timer be thought of as a separate THREAD, where I can use some locking device to share the resource??

Thanks.

Jerry
AnswerRe: How to Share a Resource with 2 Timers Pin
Cedric Moonen7-Jun-04 3:47
Cedric Moonen7-Jun-04 3:47 
AnswerRe: How to Share a Resource with 2 Timers Pin
erkanina7-Jun-04 3:59
erkanina7-Jun-04 3:59 
GeneralRegisterhotkey problems Pin
Abhi Lahare7-Jun-04 3:14
Abhi Lahare7-Jun-04 3:14 
Generalres: protocol Pin
Cristian Amarie7-Jun-04 3:02
Cristian Amarie7-Jun-04 3:02 
GeneralDeclaring a pointer to a class in VC++ Pin
Anonymous7-Jun-04 2:52
Anonymous7-Jun-04 2:52 
GeneralRe: Declaring a pointer to a class in VC++ Pin
RChin7-Jun-04 3:18
RChin7-Jun-04 3:18 
GeneralRe: Declaring a pointer to a class in VC++ Pin
Anonymous7-Jun-04 4:23
Anonymous7-Jun-04 4:23 
GeneralCWnd custom control in Toolbar Pin
hd447807-Jun-04 2:52
hd447807-Jun-04 2:52 
GeneralPrinting mirror image Pin
CodeHead7-Jun-04 2:13
CodeHead7-Jun-04 2:13 
GeneralRe: Printing mirror image Pin
Roger Allen7-Jun-04 2:56
Roger Allen7-Jun-04 2:56 
GeneralSetWorldTransform() not work for printing? Pin
CodeHead7-Jun-04 9:57
CodeHead7-Jun-04 9:57 
GeneralCryptGetHashParam Pin
Ni@m7-Jun-04 0:41
Ni@m7-Jun-04 0:41 
GeneralRe: CryptGetHashParam Pin
Mike Dimmick7-Jun-04 4:57
Mike Dimmick7-Jun-04 4:57 
GeneralConstructor problem - setting members Pin
Anonymous7-Jun-04 0:16
Anonymous7-Jun-04 0:16 
GeneralRe: Constructor problem - setting members Pin
bneacetp7-Jun-04 0:29
bneacetp7-Jun-04 0:29 
GeneralRe: Constructor problem - setting members Pin
thowra7-Jun-04 1:01
thowra7-Jun-04 1:01 
GeneralCreate a GUID to uniquely identify a machine. Pin
Member 11501767-Jun-04 0:06
Member 11501767-Jun-04 0:06 

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.