Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A synchronized method would block the entire thread, but calls to ReentrantLock.lock, or any other java.util.concurrent class, can be turned from thread-blocking to fiber blocking.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: