Click here to Skip to main content
15,888,984 members
Home / Discussions / C#
   

C#

 
GeneralRe: Windows Service and Sql Server Pin
Zishan Haider22-Nov-04 0:07
Zishan Haider22-Nov-04 0:07 
GeneralPrinting Graphics Pin
rognog19-Nov-04 1:33
rognog19-Nov-04 1:33 
GeneralRe: Printing Graphics Pin
benjymous19-Nov-04 5:23
benjymous19-Nov-04 5:23 
GeneralRe: Printing Graphics Pin
Heath Stewart19-Nov-04 8:16
protectorHeath Stewart19-Nov-04 8:16 
GeneralRe: Printing Graphics Pin
Daniel Turini19-Nov-04 6:03
Daniel Turini19-Nov-04 6:03 
GeneralRe: Printing Graphics Pin
Heath Stewart19-Nov-04 8:24
protectorHeath Stewart19-Nov-04 8:24 
QuestionHow could I know all the threads have been executed? Pin
momer18-Nov-04 22:19
momer18-Nov-04 22:19 
AnswerRe: How could I know all the threads have been executed? Pin
benjymous18-Nov-04 22:30
benjymous18-Nov-04 22:30 
One very simple solution would be to create an array of bools that all the threads and your main process can see - each thread knows it's number (set by the main process when the thread starts) and when each thread finishes it sets it's relevant entry in the array to true.

Then the main process just needs to sporadically check the array, to see if they've all finished (and find out which thread it's waiting for)

--
Help me! I'm turning into a grapefruit!
Phoenix Paint - back from DPaint's ashes!

AnswerRe: How could I know all the threads have been executed? Pin
Daniel Turini18-Nov-04 23:10
Daniel Turini18-Nov-04 23:10 
GeneralNETBIOS Pin
Y3YPnATOP18-Nov-04 22:06
Y3YPnATOP18-Nov-04 22:06 
GeneralRe: NETBIOS Pin
Heath Stewart19-Nov-04 8:35
protectorHeath Stewart19-Nov-04 8:35 
GeneralDataGrid control Pin
sasan5618-Nov-04 20:30
sasan5618-Nov-04 20:30 
GeneralRe: DataGrid control Pin
DougW4818-Nov-04 20:38
DougW4818-Nov-04 20:38 
GeneralRe: DataGrid control Pin
drayab18-Nov-04 20:51
drayab18-Nov-04 20:51 
GeneralDataGridTimePickerColumn question Pin
Old Gun18-Nov-04 16:22
Old Gun18-Nov-04 16:22 
GeneralRe: DataGridTimePickerColumn question Pin
Heath Stewart19-Nov-04 8:38
protectorHeath Stewart19-Nov-04 8:38 
GeneralRe: DataGridTimePickerColumn question Pin
Old Gun20-Nov-04 21:06
Old Gun20-Nov-04 21:06 
QuestionHow to perform carriage return by coding,not by clicking the Enter key? Pin
momer18-Nov-04 16:04
momer18-Nov-04 16:04 
AnswerRe: How to perform carriage return by coding,not by clicking the Enter key? Pin
Daniel Turini18-Nov-04 20:41
Daniel Turini18-Nov-04 20:41 
AnswerRe: How to perform carriage return by coding,not by clicking the Enter key? Pin
Luis Alonso Ramos19-Nov-04 9:03
Luis Alonso Ramos19-Nov-04 9:03 
Generaldatagrid slow updating Pin
bwagz18-Nov-04 14:21
bwagz18-Nov-04 14:21 
GeneralArrayList in ArrayList Pin
stumpi18-Nov-04 13:52
stumpi18-Nov-04 13:52 
GeneralRe: ArrayList in ArrayList Pin
maibuihuynhtg18-Nov-04 16:43
maibuihuynhtg18-Nov-04 16:43 
GeneralOverriding soap interpretation of specific types Pin
WildRide18-Nov-04 13:32
WildRide18-Nov-04 13:32 
GeneralRe: Overriding soap interpretation of specific types Pin
steve_hocking19-Nov-04 3:23
steve_hocking19-Nov-04 3:23 

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.