Re: Multi thread
From: Ignacio Machin \( .NET/ C# MVP \) ("Ignacio)
Date: 08/02/04
- Next message: Nicholas Paldino [.NET/C# MVP]: "Re: Multi thread"
- Previous message: Nicholas Paldino [.NET/C# MVP]: "Re: Set html field value"
- In reply to: ruso: "Multi thread"
- Next in thread: Nicholas Paldino [.NET/C# MVP]: "Re: Multi thread"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 2 Aug 2004 09:35:41 -0400
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" <rustem40@yahoo.com> wrote in message news:5bf8bf9b.0408020512.7d88f159@posting.google.com... > 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
- Next message: Nicholas Paldino [.NET/C# MVP]: "Re: Multi thread"
- Previous message: Nicholas Paldino [.NET/C# MVP]: "Re: Set html field value"
- In reply to: ruso: "Multi thread"
- Next in thread: Nicholas Paldino [.NET/C# MVP]: "Re: Multi thread"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|