C++ Multithreading

C++ Multithreading

Post by webb on Sun Oct 05, 2008 10:38 pm
([msg=13234]see C++ Multithreading[/msg])

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
webb
New User
New User
 
Posts: 8
Joined: Wed Oct 01, 2008 3:57 pm
Blog: View Blog (0)


Re: C++ Multithreading

Post by Elligari on Sun Oct 05, 2008 11:20 pm
([msg=13239]see Re: C++ Multithreading[/msg])

Assuming you're using the Win32 platform; http://www.codeproject.com/KB/threads/M ... orial.aspx
»Those whos memories fade seek to carve them into their hearts«
»All dreams are but another reality, never forget«

Image
Elligari
New User
New User
 
Posts: 41
Joined: Thu Aug 21, 2008 1:32 pm
Location: /dev/null
Blog: View Blog (0)


Re: C++ Multithreading

Post by webb on Mon Oct 06, 2008 10:46 am
([msg=13263]see Re: C++ Multithreading[/msg])

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!
webb
New User
New User
 
Posts: 8
Joined: Wed Oct 01, 2008 3:57 pm
Blog: View Blog (0)


Re: C++ Multithreading

Post by Elligari on Mon Oct 06, 2008 12:15 pm
([msg=13266]see Re: C++ Multithreading[/msg])

Ah, cool. And no problem! Good luck.
»Those whos memories fade seek to carve them into their hearts«
»All dreams are but another reality, never forget«

Image
Elligari
New User
New User
 
Posts: 41
Joined: Thu Aug 21, 2008 1:32 pm
Location: /dev/null
Blog: View Blog (0)


Re: C++ Multithreading

Post by AgentSmithers on Thu Feb 12, 2009 12:29 pm
([msg=17752]see Re: C++ Multithreading[/msg])

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
Http://ControllingTheInter.Net
My General Computer Forum, From Security To Programming And Back To Troubleshooting.
AgentSmithers
New User
New User
 
Posts: 21
Joined: Thu Feb 12, 2009 12:27 pm
Location: Palm Springs
Blog: View Blog (0)



Return to C and C++

Who is online

Users browsing this forum: No registered users and 0 guests