Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Multi-Threading newbie questions
Multi-Threading newbie questions [message #37902] Wed, 21 November 2012 11:55 Go to previous message
navi is currently offline  navi
Messages: 107
Registered: February 2012
Location: Sydney, Australia
Experienced Member
I have checked the Example, Bazzar and have search the Forum for a beginner’s guide/example for Multi-Threading/CoWork

I found the followings CoWork, GuiMT, GuiLock and few other MT Server examples. I am still as confused as when I started with this topic. Is there an easy example or beginner’s guide exist for how to Multi-Thread anywhere?

What I am trying to achieve is the following:
I have 2 Vectors in my MainWindow Class. I am trying to Create a WorkerFunction(Vector<String>& a, Vector<String>& b) which will copy Vector ‘a’ into Vector ‘b’ element by element and also need to notify the MainWindow about its progress i.e how many element has currently been copied. How do I create the thread? Should I use Thread() or CoWork? what would happen if while the Worker is running and the user closed the MainWindow?

Thanks & Regards
Navi

[Updated on: Wed, 21 November 2012 12:00]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Icon size
Next Topic: VectorMap picks two vectors
Goto Forum:
  


Current Time: Mon May 13 17:13:46 CEST 2024

Total time taken to generate the page: 0.02592 seconds