diff options
Diffstat (limited to 'cs/test/Ice/faultTolerance/TestI.cs')
-rwxr-xr-x | cs/test/Ice/faultTolerance/TestI.cs | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/cs/test/Ice/faultTolerance/TestI.cs b/cs/test/Ice/faultTolerance/TestI.cs index a9f95c92904..4634f7c29d2 100755 --- a/cs/test/Ice/faultTolerance/TestI.cs +++ b/cs/test/Ice/faultTolerance/TestI.cs @@ -17,36 +17,36 @@ public sealed class TestI : TestIntfDisp_ { public TestI(Ice.ObjectAdapter adapter) { - lock(this) - { - _adapter = adapter; - _p = Process.GetCurrentProcess(); - _pid = _p.Id; - } + lock(this) + { + _adapter = adapter; + _p = Process.GetCurrentProcess(); + _pid = _p.Id; + } } private void commitSuicide() { - _p.Kill(); - Thread.Sleep(5000); // Give other threads time to die. + _p.Kill(); + Thread.Sleep(5000); // Give other threads time to die. } public override void abort(Ice.Current current) { - commitSuicide(); + commitSuicide(); } public override void idempotentAbort(Ice.Current current) { - commitSuicide(); + commitSuicide(); } public override int pid(Ice.Current current) { - lock(this) - { - return _pid; - } + lock(this) + { + return _pid; + } } public override void shutdown(Ice.Current current) |