View RSS Feed

Thread

Threads in Java. Java multithreading examples.

  1. Using threads in Java applications

    by , 04-03-2012 at 11:57 AM
    Are you going to code a Java application that processes multiple tasks at the same time? Or is your program doing some heavy operations in the background, while the user is viewing a chart report? Such applications are referred as multi-threaded or concurrency programs. The Java platform has built-in support for threading from its very early versions, so developing multi-threaded applications in Java is not tough at all, thanks to the comprehensive and powerful threading and concurrency API. ...
    Tags: java, thread, tutorial Add / Edit Tags
    Categories
    Tutorial
  2. High-level thread states

    by , 01-08-2012 at 12:16 PM
    Following diagrams display different thread states.

    Name:  62.JPG
Views: 730
Size:  29.7 KB

    Thread States

    Runnable: Thread in this state is waiting for its turn to start execution.
    Running: Thread is executing and performing its functionality.
    Waiting: Thread is in blocked state and waiting for some operation to finish.
    Sleeping: Thread is suspended forcefully.
    Blocked on I/O: Thread will start execution after completion of ...
    Tags: states, thread Add / Edit Tags
    Categories
    Tutorial