3 Replies - 433 Views - Last Post: 14 April 2015 - 04:21 AM Rate Topic: -----

#1 dhanunjaya   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 14-April 15

Each thread should read the files from different folders.

Posted 14 April 2015 - 02:56 AM

Hi Professionals,

I need to read folder structure from the excle file and need to read all the files which are available inside folder structure.folder structure like below
c:\\Migrate
C:\\Migrate\MigrateFiles
...
...
..etc.

I am ble to read files which is avalibale in all the folders with single thread,i want to read those files with multiple threads,each thread shoud reads the files from different folder.please help me here how to read.

Thanks.

Is This A Good Question/Topic? 0
  • +

Replies To: Each thread should read the files from different folders.

#2 g00se   User is offline

  • D.I.C Lover
  • member icon

Reputation: 3550
  • View blog
  • Posts: 16,187
  • Joined: 20-September 08

Re: Each thread should read the files from different folders.

Posted 14 April 2015 - 03:55 AM

Quote

i want to read those files with multiple threads

Why?
Was This Post Helpful? 0
  • +
  • -

#3 dhanunjaya   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 14-April 15

Re: Each thread should read the files from different folders.

Posted 14 April 2015 - 04:14 AM

i have to store all the files(in diiferent folders) in repository ,if you use multiple threads for storing the files we can save the time right?thats why i want implement multi thread concept.
Was This Post Helpful? 0
  • +
  • -

#4 g00se   User is offline

  • D.I.C Lover
  • member icon

Reputation: 3550
  • View blog
  • Posts: 16,187
  • Joined: 20-September 08

Re: Each thread should read the files from different folders.

Posted 14 April 2015 - 04:21 AM

Quote

if you use multiple threads for storing the files we can save the time right?
The answer to that is - not necessarily. It could even increase time, depending on the implementation. Please post your current code
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1