Managing threads


Web tier: servlets, JSP, Web frameworks: Managing threads

  1. Managing threads (1 messages)

    I have a java class that implements the Runnable interface. The program is configured to have 15 threads of this class. Now I have to manage these threads to process files in a directory ie.. the directory contains hundreds of text files that have to be processed by these threads in such a way that no two threads process the same file. Can someone give me the code for this please.

    Threaded Messages (1)

  2. two-threaded code[ Go to top ]

    Please see below link