Hi,
You can use several ways, onbe way is to have a queue with the files to be
processed, ( you can use a sync. queue, well you MUST ! really ) then you
create the X threads that get the file from the queue, you will have to keep
the results in an arraylist or something like that ( also must be sync to
avoid problems )
That's pretty much what you need I think , just post back if yuo need more
help,
Cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"ruso" <ru******@yahoo.com> wrote in message
news:5b**************************@posting.google.c om...
I am searching some string in files in the folders. But i want to
search them with multithread form example 5 threads at the same time
how can i do thanks