Thread
Android Thread Message Looper Handler Example
Android’s message queue and queue looper are aimed at the specific thread, a thread can have it’s own message queue and queue looper. 1. Android Message Queue And Looper Introduction. If you want to send messages between different threads, you need to add a message object in that thread’s message queue. Then the queue looper …
Java Deadlock Example
Deadlock is a reason which causes the java program to hang. The reason for this may be two or more java threads are waiting for each other to release the locked objects which they want to lock also. Of course, we should avoid this kind of situation in java programming. This article will show you …