Click here to Skip to main content
15,889,367 members
Home / Discussions / C#
   

C#

 
GeneralRe: construction order Pin
Guffa14-Apr-08 3:42
Guffa14-Apr-08 3:42 
GeneralRe: construction order Pin
George_George14-Apr-08 4:00
George_George14-Apr-08 4:00 
GeneralHiding a tabPage Pin
Harvey Saayman14-Apr-08 2:40
Harvey Saayman14-Apr-08 2:40 
GeneralRe: Hiding a tabPage Pin
phannon8614-Apr-08 2:53
professionalphannon8614-Apr-08 2:53 
GeneralRe: Hiding a tabPage Pin
Harvey Saayman14-Apr-08 2:56
Harvey Saayman14-Apr-08 2:56 
GeneralRe: Hiding a tabPage Pin
phannon8614-Apr-08 2:59
professionalphannon8614-Apr-08 2:59 
GeneralRe: Hiding a tabPage Pin
Harvey Saayman14-Apr-08 3:02
Harvey Saayman14-Apr-08 3:02 
Generalthread safety in Windows Service design Pin
George_George14-Apr-08 2:28
George_George14-Apr-08 2:28 
Hello everyone,


For Windows Service, for example class Service1 is the main class of my service application, which derives from ServiceBase. I am wondering whether it is possible that two concurrent access to the following 3 cases?

1. the constructor of Service1;
2. OnStart method of Service1;
3. OnStop method of Service.

If yes, I need some synchronizaton control in them. If yes, in what situation the three methods will be called concurrently? We are able to start/stop the same service with different instances (processes) at the same time?


thanks in advance,
George
GeneralRe: thread safety in Windows Service design Pin
Dario Solera14-Apr-08 2:35
Dario Solera14-Apr-08 2:35 
GeneralRe: thread safety in Windows Service design Pin
George_George14-Apr-08 2:44
George_George14-Apr-08 2:44 
GeneralRe: thread safety in Windows Service design Pin
Dario Solera14-Apr-08 3:00
Dario Solera14-Apr-08 3:00 
GeneralRe: thread safety in Windows Service design Pin
George_George14-Apr-08 3:04
George_George14-Apr-08 3:04 
GeneralRe: thread safety in Windows Service design Pin
Dario Solera14-Apr-08 3:20
Dario Solera14-Apr-08 3:20 
GeneralRe: thread safety in Windows Service design Pin
George_George14-Apr-08 3:24
George_George14-Apr-08 3:24 
GeneralMSAccess DB import to SQL server using C# Pin
new2pgrmg14-Apr-08 2:24
new2pgrmg14-Apr-08 2:24 
GeneralRe: MSAccess DB import to SQL server using C# Pin
Mark J. Miller14-Apr-08 5:05
Mark J. Miller14-Apr-08 5:05 
GeneralRe: MSAccess DB import to SQL server using C# Pin
new2pgrmg14-Apr-08 18:11
new2pgrmg14-Apr-08 18:11 
Generalreg invoking vb6's method in c# Pin
Member 400849214-Apr-08 1:49
Member 400849214-Apr-08 1:49 
GeneralRe: reg invoking vb6's method in c# Pin
N a v a n e e t h14-Apr-08 1:53
N a v a n e e t h14-Apr-08 1:53 
GeneralRe: reg invoking vb6's method in c# Pin
Member 400849214-Apr-08 19:36
Member 400849214-Apr-08 19:36 
GeneralRe: reg invoking vb6's method in c# Pin
paas14-Apr-08 2:26
paas14-Apr-08 2:26 
Questionhelp on date manipulation Pin
tasumisra14-Apr-08 0:30
tasumisra14-Apr-08 0:30 
GeneralRe: help on date manipulation Pin
Christian Graus14-Apr-08 0:38
protectorChristian Graus14-Apr-08 0:38 
GeneralInitializeComponent method Pin
George_George14-Apr-08 0:05
George_George14-Apr-08 0:05 
GeneralRe: InitializeComponent method Pin
Christian Graus14-Apr-08 0:23
protectorChristian Graus14-Apr-08 0: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.