It's interesting for me how it's possible to write simple Android Handler class using only pure java to send signals from one thread to another?
I saw the source code: http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.1_r2/android/os/Handler.java
But how for example to write class (Handler class) that can send for example int value from one thread to another(not using share data(like in Android Handler?))?