diff options
Diffstat (limited to 'csharp/test/IceBox/admin/TestI.cs')
-rw-r--r-- | csharp/test/IceBox/admin/TestI.cs | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/csharp/test/IceBox/admin/TestI.cs b/csharp/test/IceBox/admin/TestI.cs index a2c721985b8..92411d13e51 100644 --- a/csharp/test/IceBox/admin/TestI.cs +++ b/csharp/test/IceBox/admin/TestI.cs @@ -15,27 +15,10 @@ public class TestFacetI : TestFacetDisp_, Ice.PropertiesAdminUpdateCallback { public TestFacetI() { - _called = false; } override public Dictionary<string, string> getChanges(Ice.Current current) { - // - // The client calls PropertiesAdmin::setProperties() and then invokes - // this operation. Since setProperties() is implemented using AMD, the - // client might receive its reply and then call getChanges() before our - // updated() method is called. We block here to ensure that updated() - // gets called before we return the most recent set of changes. - // - lock(this) - { - while(!_called) - { - System.Threading.Monitor.Wait(this); - } - } - _called = false; - return _changes; } @@ -44,11 +27,8 @@ public class TestFacetI : TestFacetDisp_, Ice.PropertiesAdminUpdateCallback lock(this) { _changes = changes; - _called = true; - System.Threading.Monitor.Pulse(this); } } private Dictionary<string, string> _changes; - private bool _called; } |