()
| 78 | } |
| 79 | |
| 80 | final private void realize() { |
| 81 | Lock l = lock; |
| 82 | if(l != null) { |
| 83 | l.lock(); |
| 84 | try { |
| 85 | //must re-examine under lock |
| 86 | if(lock != null) { |
| 87 | force(); |
| 88 | Object ls = sv; |
| 89 | sv = null; |
| 90 | if(ls instanceof LazySeq) |
| 91 | ls = unwrap(ls); |
| 92 | s = RT.seq(ls); |
| 93 | lock = null; |
| 94 | } |
| 95 | } |
| 96 | finally { |
| 97 | l.unlock(); |
| 98 | } |
| 99 | } |
| 100 | } |
| 101 | |
| 102 | public final ISeq seq(){ |
| 103 | if(lock != null) |