Click here to Skip to main content
Sign Up to vote bad
good
Hey Code Project,
I was looking through the pages of info at this website but then i came across threads. The thing is i do not know what an thread is or how to use it. Would someone please tell me how to use it.
Regards,
Cyberwarfare.
Posted 1-Oct-12 7:50am

Comments
Sergey Alexandrovich Kryukov - 1-Oct-12 14:00pm
This is not a topic for just one question and answer. And -- C++ or C++/CLI? -- they are very different in this respect. --SA

2 solutions

I have to agree with SA - this is far too big a subject for a Quick Answer, even if you ignore the language specific parts.
 
Time to start reading: Wikipedia[^] does a good overview of threading and what threads are. For more detail, most good development teaching books devote a chapter (or three) to teh subject.
  Permalink  
As I say, this is not a topic for just one question and answer. Please try to start here:
http://en.wikipedia.org/wiki/Thread_%28computing%29[^],
http://en.wikipedia.org/wiki/Multi-core_%28computing%29[^],
http://en.wikipedia.org/wiki/Thread_pool_pattern[^],
http://en.wikipedia.org/wiki/Thread_safety[^],
http://en.wikipedia.org/wiki/Thread_synchronization[^].
 
Now, managed threading for .NET:
http://msdn.microsoft.com/en-us/library/hh156548.aspx[^],
http://msdn.microsoft.com/en-us/library/3e8s7xdd%28v=vs.110%29.aspx[^],
http://msdn.microsoft.com/en-us/library/system.threading.aspx[^].
 
This is pretty long way to go. Don't expect some simple cookbook recipes or a quick conceptual fix — they would not be helpful at this stage. This is more of education than of quick training in some techniques. The only one conceptual fix for you would be this: this topic is not covered by a swift cavalry attack. Smile | :)
 
—SA
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Christian Graus 478
1 Ron Beyer 306
2 Tadit Dash 253
3 samadhan_kshirsagar 229
4 OriginalGriff 198
0 Sergey Alexandrovich Kryukov 7,041
1 Prasad_Kulkarni 3,815
2 OriginalGriff 3,557
3 _Amy 3,372
4 CPallini 3,034


Advertise | Privacy | Mobile
Web03 | 2.6.130619.1 | Last Updated 1 Oct 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid