PDA

View Full Version : writing Multithreaded GUI's



WebmasterMattD
01-27-2003, 12:27 AM
Okay, I am at the stage where I need to know about implementing multiple threads into my program.

At the moment I want to have a sound play in the background while still retaining the functionality of the interface.

I have looked into QT's thread implementation aswell as pthreads, though am not sure what would be best in this situation.

Thanks for you help,

WebmasterMattD
01-27-2003, 06:32 AM
Did a basic implementation of pthreads, though if anyone knows of a way of getting pthreads to do a
pthread_create() on a function within a class that would be of greate help.

Thanks,

JasonLikesJava
01-27-2003, 09:37 AM
The function you give pthread_create() has to be a static function.