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

18 lines
415 B
Plaintext
Raw Normal View History

2008-03-05 09:52:00 -05:00
///////////////////////////////////////////////////////////////////////////////
//
// 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;
}
}
}