equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2004, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
101 import com.sun.corba.se.impl.orbutil.ORBConstants; |
101 import com.sun.corba.se.impl.orbutil.ORBConstants; |
102 import com.sun.corba.se.impl.orbutil.concurrent.Sync ; |
102 import com.sun.corba.se.impl.orbutil.concurrent.Sync ; |
103 import com.sun.corba.se.impl.orbutil.concurrent.SyncUtil ; |
103 import com.sun.corba.se.impl.orbutil.concurrent.SyncUtil ; |
104 import com.sun.corba.se.impl.orbutil.concurrent.ReentrantMutex ; |
104 import com.sun.corba.se.impl.orbutil.concurrent.ReentrantMutex ; |
105 import com.sun.corba.se.impl.orbutil.concurrent.CondVar ; |
105 import com.sun.corba.se.impl.orbutil.concurrent.CondVar ; |
|
106 import com.sun.corba.se.impl.transport.ManagedLocalsThread; |
106 |
107 |
107 /** |
108 /** |
108 * POAImpl is the implementation of the Portable Object Adapter. It |
109 * POAImpl is the implementation of the Portable Object Adapter. It |
109 * contains an implementation of the POA interfaces specified in |
110 * contains an implementation of the POA interfaces specified in |
110 * COBRA 2.3.1 chapter 11 (formal/99-10-07). This implementation |
111 * COBRA 2.3.1 chapter 11 (formal/99-10-07). This implementation |
514 return oid.getId(); |
515 return oid.getId(); |
515 } |
516 } |
516 |
517 |
517 // Converted from anonymous class to local class |
518 // Converted from anonymous class to local class |
518 // so that we can call performDestroy() directly. |
519 // so that we can call performDestroy() directly. |
519 static class DestroyThread extends Thread { |
520 static class DestroyThread extends ManagedLocalsThread { |
520 private boolean wait ; |
521 private boolean wait ; |
521 private boolean etherealize ; |
522 private boolean etherealize ; |
522 private boolean debug ; |
523 private boolean debug ; |
523 private POAImpl thePoa ; |
524 private POAImpl thePoa ; |
524 |
525 |