dannysh
asked on
Java 1.4
Hi all
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.
Thanks
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.
Thanks
ASKER
Hi Jim cakalic
I am using version 1.4.0-b92. where can I download the latest version 1.4_01?
I am using version 1.4.0-b92. where can I download the latest version 1.4_01?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Jim
I download this version and it works fine.
Danny
I download this version and it works fine.
Danny
Jim