Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > Pro VB.NET 2002/2003
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Pro VB.NET 2002/2003 For advanced Visual Basic coders working .NET version 2002/2003. Beginning-level questions will be redirected to other forums, including Beginning VB.NET.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 27th, 2006, 03:37 PM
Authorized User
 
Join Date: Mar 2006
Location: , , .
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default Multithreading question

I am wondering if someone could pseudocode what I want to do here.

Using vb.net 2003, I have a routine that does some stuff, but runs in a new thread. What I want though is to loop through all the records in the dataset and call the routine, either in a new thread or wait until the first thread has ended.

example...

for each row
       bla = bla bla
       some code here
       thread.start()
next

basically I want to start processing the next record, but not overwrite the data being used in the first thread.

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multithreading Help jenngarcia21 General .NET 0 March 9th, 2007 02:14 PM
multithreading in c# furqanms C# 0 November 21st, 2006 10:43 AM
regarding multithreading Mystic C# 1 July 22nd, 2006 12:44 AM
Multithreading and Synclock AgentSmith ASP.NET 1.0 and 1.1 Professional 0 October 19th, 2005 08:26 AM
How to use Multithreading in VB6.0 ramk_1978 Beginning VB 6 3 January 24th, 2005 09:53 AM



All times are GMT -4. The time now is 06:37 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.