Page 1 of 1

C++ Multithreading

PostPosted: Sun Oct 05, 2008 10:38 pm
by webb
hey all,
I was wondering if anyone had a tutorial on writing multithreading apps in C++ they would recommend. I'm aware I can search google for a multithreading tutorial and have in fact done such, but I was asking here in hope of getting one that someone finds especially concise, clear or detailed.

thanks all

Re: C++ Multithreading

PostPosted: Sun Oct 05, 2008 11:20 pm
by Elligari
Assuming you're using the Win32 platform; http://www.codeproject.com/KB/threads/M ... orial.aspx

Re: C++ Multithreading

PostPosted: Mon Oct 06, 2008 10:46 am
by webb
yeah i run windows mostly when i'm at school. i have a gentoo box at home but i haven't gotten around to dual booting/wouldn't use it enough to be worth it really. thanks for the link man!

Re: C++ Multithreading

PostPosted: Mon Oct 06, 2008 12:15 pm
by Elligari
Ah, cool. And no problem! Good luck.

Re: C++ Multithreading

PostPosted: Thu Feb 12, 2009 12:29 pm
by AgentSmithers
I belive in the Example above that _beginthreadex uses MFC, Am I correct?
if not use can use CreateThread but using this is known to Cause memory leeks and was replaced with _beginthreadex