Click here to Skip to main content
15,913,115 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to restart console application? Pin
Colin Angus Mackay29-Feb-08 2:55
Colin Angus Mackay29-Feb-08 2:55 
GeneralRe: how to restart console application? Pin
buchstaben29-Feb-08 4:01
buchstaben29-Feb-08 4:01 
AnswerRe: how to restart console application? Pin
Pete O'Hanlon29-Feb-08 0:42
mvePete O'Hanlon29-Feb-08 0:42 
GeneralRe: how to restart console application? Pin
buchstaben29-Feb-08 2:37
buchstaben29-Feb-08 2:37 
GeneralRe: how to restart console application? Pin
Colin Angus Mackay29-Feb-08 2:52
Colin Angus Mackay29-Feb-08 2:52 
GeneralRe: how to restart console application? Pin
buchstaben29-Feb-08 3:59
buchstaben29-Feb-08 3:59 
GeneralRe: how to restart console application? Pin
Pete O'Hanlon29-Feb-08 3:43
mvePete O'Hanlon29-Feb-08 3:43 
GeneralRe: how to restart console application? Pin
buchstaben29-Feb-08 4:47
buchstaben29-Feb-08 4:47 
Pete O'Hanlon wrote:
This sounds like you are getting a bit confused architecturally. Don't restart the application - just kill the threads (be aware that this is really frowned upon though).


just killing the threads wouldn't help, since i must ensure each background thread runs every main run.

a main run simply covers invoking all registered background threads, starting a timer and wait for the timer's and threads' ready-events. if both, timer and all threads are ready, start a new main run.

if timer is ready since x seconds, (assuming non-expected exception) the app should ignore the background threads' states and stop current main run. now all background threads have to be killed and invoked again. that's actually what my goal is.

architecturally this should be ok, shouldn't?
GeneralControls - checkbox Pin
CodingLover28-Feb-08 23:35
CodingLover28-Feb-08 23:35 
GeneralRe: Controls - checkbox Pin
Laddie28-Feb-08 23:43
Laddie28-Feb-08 23:43 
GeneralRe: Controls - checkbox Pin
yogesh_kumar_agarwal28-Feb-08 23:43
yogesh_kumar_agarwal28-Feb-08 23:43 
GeneralRe: Controls - checkbox Pin
CodingLover28-Feb-08 23:52
CodingLover28-Feb-08 23:52 
GeneralRe: Controls - checkbox Pin
Laddie28-Feb-08 23:54
Laddie28-Feb-08 23:54 
GeneralRe: Controls - checkbox Pin
Luc Pattyn29-Feb-08 0:11
sitebuilderLuc Pattyn29-Feb-08 0:11 
GeneralRe: Controls - checkbox Pin
Seattle29-Feb-08 1:03
Seattle29-Feb-08 1:03 
GeneralBackup the registry settings. Pin
CodingLover28-Feb-08 22:28
CodingLover28-Feb-08 22:28 
GeneralRe: Backup the registry settings. Pin
Laddie28-Feb-08 22:35
Laddie28-Feb-08 22:35 
GeneralRe: Backup the registry settings. Pin
CodingLover28-Feb-08 22:41
CodingLover28-Feb-08 22:41 
GeneralRe: Backup the registry settings. Pin
buchstaben28-Feb-08 22:49
buchstaben28-Feb-08 22:49 
GeneralRe: Backup the registry settings. Pin
Laddie28-Feb-08 22:55
Laddie28-Feb-08 22:55 
GeneralRe: Backup the registry settings. Pin
CodingLover28-Feb-08 23:20
CodingLover28-Feb-08 23:20 
GeneralFont problem in windows Vista Pin
D i x y28-Feb-08 22:12
D i x y28-Feb-08 22:12 
GeneralRe: Font problem in windows Vista [modified] Pin
DaveyM6929-Feb-08 3:02
professionalDaveyM6929-Feb-08 3:02 
GeneralRe: Font problem in windows Vista Pin
D i x y29-Feb-08 17:31
D i x y29-Feb-08 17:31 
GeneralRe: Font problem in windows Vista [modified] Pin
DaveyM6929-Feb-08 22:42
professionalDaveyM6929-Feb-08 22:42 

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.