delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/02/15/09:53:10

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:reply-to:to:subject:date:message-id
:references:in-reply-to:content-type:content-transfer-encoding
:mime-version; q=dns; s=default; b=XwsZyoYhq3DOkaR+iUyZ1Yl1Ismdh
q2/tTGOHx5P+6VGGdJN3VWrilJmP39BNgDhdZASvWIwwGX4mv0YXpfxJgHNZkMk7
bno4ZNqElmXSglGcEk51J0fuT96ND0MAy14mIRKnOUmlXyKHeRXPql3AIU5MtlxX
qDjVUnJsYZ1lLo=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:reply-to:to:subject:date:message-id
:references:in-reply-to:content-type:content-transfer-encoding
:mime-version; s=default; bh=cpRgWeyRQZQZM7BAoZLKwXBBC/Q=; b=T4N
tnl1txWMKOljepkBcYLS6NkB9ou4MyOmPWlwOQz9Nndh8/DKbiDXqfXFmdztBqWq
QXP24dgqB/LMV1bBuTPgqxOM5dDcgKr9MmGD4PGTPDZy3MkiAsNQCfOo2YwMjydL
HzoK0QmuYL8BCv08s0wJyRxVlqVt3UntGul9zraY=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=articles, controller
X-HELO: nihcesxway2.hub.nih.gov
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nih.gov; i=@nih.gov; q=dns/txt; s=NIH; t=1550242375; x=1581778375; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=HVE+C0KP8u8eHr0XmsKOFgm2J2VO8oeT6rhNk5U60TM=; b=nU9UuMupOq1vmxInMo0XWqFnCqRukNP9+130NHxJvNoOcF36dO4ROZDZ AubqMJQbC5fN++itF6xgogoAqpQL3mHc8+myakcDDDWt03CwpVSNSMuxU Lhb5rQvgEGoVccHd7qZqfxPkU1YAMXFalztuJYu0QKA9En27RnBJ70ueb 0jzBJHIabbwAFbzPIocf/kwBlsg/wZUTpUDCTOZvW0nIHMT5BIdMo50Sx qdcb3B77YfhlSrOob4amEniqAG+yOJkt5jfuI5vFM8T2+64D36LL3ysgm Ma61qfMY570Ex9nToBY4p5lreZ9FcNCsKYUrnn5gevzfPJ9UpEmV7p00d A==;
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nih.onmicrosoft.com; s=selector1-ncbi-nlm-nih-gov; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HVE+C0KP8u8eHr0XmsKOFgm2J2VO8oeT6rhNk5U60TM=; b=ZpRcn1FmAaHJVoe7y2SVyHSTtTcdINZmfhLJJuxUDsS4/J8zZs2nVsxlO6CLj85UZc6hAM4XM3ay31+kBAdABqOvHT5EajRcsjuK7PO4d64nQgGl7ZTyYX3qNKgb0gyJeO9B05GL/lNBXNN5+TyyjRG61izPkNSEK1ao/MVU/jM=
From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin" <cygwin AT cygwin DOT com>
Reply-To: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" <lavr AT ncbi DOT nlm DOT nih DOT gov>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: cygrunsrv to have a timeout parameter for service startup
Date: Fri, 15 Feb 2019 14:52:41 +0000
Message-ID: <BL0PR0901MB3236B533598BF41042D161BFA5600@BL0PR0901MB3236.namprd09.prod.outlook.com>
References: <BL0PR0901MB3236D41983198109E0643AE7A5670 AT BL0PR0901MB3236 DOT namprd09 DOT prod DOT outlook DOT com> <471075939 DOT 20190215144447 AT yandex DOT ru>
In-Reply-To: <471075939.20190215144447@yandex.ru>
authentication-results: spf=none (sender IP is ) smtp.mailfrom=lavr AT ncbi DOT nlm DOT nih DOT gov;
x-ms-exchange-purlcount: 1
x-ms-exchange-senderadcheck: 1
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x1FEr8ZI017225

> No, 30 seconds is a hard system timeout in which a service must reply with
> an appropriate control message to let services.exe know it is ready to
> continue startup sequence.

I don't think there is a hard-coded system timeout, as long as the starting service keeps
posting its START_PENDING status, the service controller will wait.
And cygrunsrv seems to be doing that already.

MSDN doc says exactly that.  And I've also seen some articles that tell the same.

https://docs.microsoft.com/en-us/windows/desktop/api/winsvc/nf-winsvc-setservicestatus

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019