The information in this article applies to:
SUMMARYStopping a Win32 Service may cause an ERROR_SERVICE_REQUEST_TIMEOUT, to be reported by the Service Controller. The description of this error (#1053) is: This problem existed in the Win32 SDK Simple Service sample for Windows NT 3.51 and has been corrected in the sample for Windows NT 4.0. MORE INFORMATION
Error 1053 is the result of a race condition in the service's control
handler function, caused by the service setting an event telling the
service to stop. The Servicemain() thread returns from the ServiceStart
function, and calls SetServiceStatus() to tell the service controller that
the service has stopped before a status of STOP_PENDING can be reported by
the control handler function.
Additional query words: 3.51 4.00
|
|
Last Reviewed: October 18, 1999 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |