PDA

View Full Version : Multithreading in Plugins


Tom.Albrecht
3rd August 2001, 09:18
I need to start a new Thread in my Visualization plugin. What kind of threads does WinAmp use? MFC threads or just the Win32 API.
The plugin is a port from Linux and Xmms and uses QT. QT must run in a seperate thread. Under Linux, I had to use POSIX threads because that's what Xmms uses.
So now I face the same problem under Windows. It would probably be useful to know what threads WinAmp uses because that would probably facilitate compability.

Hope you can help me.

Tom

Lorimaite
10th November 2002, 16:59
I had a similar problem with my plugin. I found that I could use any type of thread I wanted to do most things. I used the basic C process thread _beginthread and also have used mfc's AfxBeginThread.
Either way I found that the thread worked correctly except in refreshing my opengl window. Anyways, it atleast worked for solving equations...