Help - Search - Members - Calendar
Full Version: Threads
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Development - (fb2k)
cookir
Ok

I've read through just about every bit of source i can, looking for an example of making a new thread, but i'm just getting lost and confused.

Is there a thread base class for me to extend and make my new thread from, or create an instance of or do i have to define one?

all i want to do is make a new thread, passing a pointer to a string, and run it. that's it. but ARGH. and what's the insync() about!??¬?¬

help.
danZ
QUOTE(cookir @ Jan 23 2004, 10:37 AM)
Ok

I've read through just about every bit of source i can, looking for an example of making a new thread, but i'm just getting lost and confused.

Is there a thread base class for me to extend and make my new thread from, or create an instance of or do i have to define one?

all i want to do is make a new thread, passing a pointer to a string, and run it. that's it. but ARGH. and what's the insync() about!??¬?¬

help.

Search for CreateThread in the foobar SDK folder for examples of creating a thread in Win32.

Basically you call that with a pointer to your thread function and that's all you need to do to start a thread of execution.
cookir
cheers man biggrin.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.