multithreading
-
Hi All, Actually i have made a worker thread n i want that thread should execute 2 times simultaneosly if a button is pressed. Only the thing i knw is multi-threading will be used... How to do it? I have done very basic progmming in threads Can anybody help me in this. thanxs in advance
-
Hi All, Actually i have made a worker thread n i want that thread should execute 2 times simultaneosly if a button is pressed. Only the thing i knw is multi-threading will be used... How to do it? I have done very basic progmming in threads Can anybody help me in this. thanxs in advance
Answer to your question : Create the two threads by calling Afx begin thread twice. Note before : 1. Both the threads should not share any data / resources. 2. if they share, its quite not possible to run them simultaneously(you can use synchronising techniques, but you will loose the "simultaneous" effect.) regards, haribabu
-
Hi All, Actually i have made a worker thread n i want that thread should execute 2 times simultaneosly if a button is pressed. Only the thing i knw is multi-threading will be used... How to do it? I have done very basic progmming in threads Can anybody help me in this. thanxs in advance