I read the following lines in java 1.4 API:
"A thread blocked in one of the select() or select(long) methods may be interrupted by some other thread in one of three ways:
By invoking the selector's wakeup method,
By invoking the selector's close method, or
By invoking the blocked thread's interrupt method, in which case its interrupt status will be set and the selector's wakeup method will be invoked."
I tried to use the wakeup() method from other thread, and it doesn't work, why? how can I do it.