singrdk/base/Contracts/ServiceManager.Contracts/ThreadTerminationContract.sg

18 lines
415 B
Plaintext

///////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
namespace Microsoft.Singularity.Services
{
public contract ThreadTerminationContract
{
in message Stop();
out message AckStop();
state Start : one {
Stop? -> AckStop! -> Start;
}
}
}