C Board  

Go Back   C Board > Platform Specific Boards > Linux Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 01-27-2003, 12:27 AM   #1
Registered User
 
Join Date: Apr 2002
Posts: 110
writing Multithreaded GUI's

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
WebmasterMattD.NET
WebmasterMattD is offline   Reply With Quote
Old 01-27-2003, 06:32 AM   #2
Registered User
 
Join Date: Apr 2002
Posts: 110
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,
__________________
WebmasterMattD
WebmasterMattD.NET
WebmasterMattD is offline   Reply With Quote
Old 01-27-2003, 09:37 AM   #3
Registered User
 
JasonLikesJava's Avatar
 
Join Date: Mar 2002
Posts: 175
The function you give pthread_create() has to be a static function.
JasonLikesJava is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Writing encrypted value to file. mkthnx001 C++ Programming 13 05-25-2009 12:42 PM
writing and appending to file lots of times takes to long how to improve ? umen242 C++ Programming 2 05-20-2008 08:57 AM
Very slow file writing of 'fwrite' function in C scho C Programming 6 08-03-2006 02:16 PM
Folding@Home Cboard team? jverkoey General Discussions 398 10-11-2005 08:44 AM
help! fifo read problem judoman C Programming 1 08-16-2004 09:19 AM


All times are GMT -6. The time now is 05:01 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22