This discussion is archived
2 Replies Latest reply: Apr 22, 2008 12:48 PM by 807557 RSS

MonitorControl

807557 Newbie
Currently Being Moderated
Hi !
I have two threads that want to share a Synchronized resource... for example an Object();
Object O;
Thread1.run{  Synchronize(O)c++..;  }
Thread2.run{  Synchronize(O)c++...;  }
I would like to set a MonitorControl on that object But an exception is always thrown

Object Q
MonitorControl.setMonitorControl( Q , PriorityCeilingEmulation.instance( 11 ) );

throws an UnsupportedOperationExcception

Edited by: michee on Apr 21, 2008 5:34 AM