WaitUnreachable.java (ef39d40d) WaitUnreachable.java (170fb961)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 99 unchanged lines hidden (view full) ---

108 unreachable = new WaitUnreachable(obj);
109 }
110
111 public void run() {
112 unreachable.waitUnreachable();
113 }
114
115 private final WaitUnreachable unreachable;
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 99 unchanged lines hidden (view full) ---

108 unreachable = new WaitUnreachable(obj);
109 }
110
111 public void run() {
112 unreachable.waitUnreachable();
113 }
114
115 private final WaitUnreachable unreachable;
116 };
116 }
117 new WaitThread(obj).start();
118 }
119
120 private Object obj;
121 private final ReferenceQueue queue;
122 private final PhantomReference ref;
123}
117 new WaitThread(obj).start();
118 }
119
120 private Object obj;
121 private final ReferenceQueue queue;
122 private final PhantomReference ref;
123}