Click here to Skip to main content
15,891,919 members
Home / Discussions / System Admin
   

System Admin

 
GeneralRe: multiple OS on a computer. Pin
Venet19-Jun-03 7:33
Venet19-Jun-03 7:33 
GeneralRe: multiple OS on a computer. Pin
Ray Cassick19-Jun-03 9:19
Ray Cassick19-Jun-03 9:19 
GeneralRe: multiple OS on a computer. Pin
Venet20-Jun-03 3:37
Venet20-Jun-03 3:37 
GeneralWindows2003 zip Pin
sacoskun17-Jun-03 6:46
sacoskun17-Jun-03 6:46 
GeneralRe: Windows2003 zip Pin
ZoogieZork17-Jun-03 7:17
ZoogieZork17-Jun-03 7:17 
GeneralRe: Windows2003 zip Pin
Venet20-Jun-03 3:42
Venet20-Jun-03 3:42 
GeneralQuestion on services and SCM... Pin
CherezZaboro17-Jun-03 5:15
CherezZaboro17-Jun-03 5:15 
GeneralRe: Question on services and SCM... Pin
Robert Little17-Jun-03 9:16
Robert Little17-Jun-03 9:16 
inner wrote:
may take to stop like 5-10 minutes for example, will system kill it anyway on its own at some point or it will wait infinitely for it to stop?

Depends on how you write the service. You must report the status of your service at regular intervals to inform the SCM of your state. When you receive a request to stop, you set the service status to stopping. Then every few seconds you update the SCM and let it know you are still stopping. If the SCM does not receive an update within a reasonable amount of time it will assume you have stopped responding.

The same would be true during startup, pause, and continue. Just provide updated every few seconds. If you need to perform a really long operation that cannot be broken down into smaller portions then run that work in a seperate thread. Then in the main thread you wait a limited time for the worker thread to complete. If it does not finish you report your status and then wait again.

--
"The money power of the country will endeavor to prolong its rule by preying upon the prejudices of the people until all wealth is concentrated in a few hands and the Republic destroyed."
-- Abraham Lincoln

GeneralRe: Question on services and SCM... Pin
CherezZaboro17-Jun-03 9:20
CherezZaboro17-Jun-03 9:20 
GeneralRe: Question on services and SCM... Pin
Robert Little17-Jun-03 13:56
Robert Little17-Jun-03 13:56 
GeneralRe: Question on services and SCM... Pin
CherezZaboro17-Jun-03 9:22
CherezZaboro17-Jun-03 9:22 
GeneralASPI and PowerDVD problem on XP Pin
Le centriste16-Jun-03 16:19
Le centriste16-Jun-03 16:19 
Questionhow to run .exe on linux(mandrake)??? Pin
@n!e16-Jun-03 15:27
@n!e16-Jun-03 15:27 
AnswerRe: how to run .exe on linux(mandrake)??? Pin
Uma Mahes16-Jun-03 22:42
Uma Mahes16-Jun-03 22:42 
AnswerRe: how to run .exe on linux(mandrake)??? Pin
ZoogieZork17-Jun-03 1:28
ZoogieZork17-Jun-03 1:28 
GeneralRe: how to run .exe on linux(mandrake)??? Pin
ZoogieZork17-Jun-03 1:29
ZoogieZork17-Jun-03 1:29 
GeneralRe: how to run .exe on linux(mandrake)??? Pin
@n!e21-Jun-03 6:53
@n!e21-Jun-03 6:53 
GeneralSQL Client/Server setup Pin
Jamie Kenyon15-Jun-03 22:50
Jamie Kenyon15-Jun-03 22:50 
GeneralNeat shortcut Pin
Vernon15-Jun-03 22:12
Vernon15-Jun-03 22:12 
GeneralPulling my hair out: General network error (800040 Pin
johnCogan200015-Jun-03 11:16
sussjohnCogan200015-Jun-03 11:16 
GeneralKDM via VNC (FreeBSD) Pin
Matt Newman14-Jun-03 7:18
Matt Newman14-Jun-03 7:18 
QuestionHowTo Send ATA "Reset Device" command? Pin
Brian van der Beek13-Jun-03 3:13
Brian van der Beek13-Jun-03 3:13 
AnswerRe: HowTo Send ATA "Reset Device" command? Pin
WoutL20-Jun-03 1:20
WoutL20-Jun-03 1:20 
GeneralWanted "Windows NT Server 4 " EXPERT advice. Pin
rohit.dhamija13-Jun-03 1:09
rohit.dhamija13-Jun-03 1:09 
GeneralWanted "Windows NT Server 4 " EXPERT advice. Pin
rohit.dhamija13-Jun-03 1:07
rohit.dhamija13-Jun-03 1:07 

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.