# | Line 207 | Line 207 | public class Semaphore implements java.i | |
---|---|---|
207 | } | |
208 | } | |
209 | } | |
210 | < | if (s != null) |
210 | > | if (s != null && s != node) |
211 | LockSupport.unpark(s.thread); | |
212 | } | |
213 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |