Thread: writing Multithreaded GUI's

  1. #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

  2. #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

  3. #3
    Registered User JasonLikesJava's Avatar
    Join Date
    Mar 2002
    Posts
    175
    The function you give pthread_create() has to be a static function.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Writing encrypted value to file.
    By mkthnx001 in forum C++ Programming
    Replies: 13
    Last Post: 05-25-2009, 12:42 PM
  2. Replies: 2
    Last Post: 05-20-2008, 08:57 AM
  3. Very slow file writing of 'fwrite' function in C
    By scho in forum C Programming
    Replies: 6
    Last Post: 08-03-2006, 02:16 PM
  4. Folding@Home Cboard team?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 398
    Last Post: 10-11-2005, 08:44 AM
  5. help! fifo read problem
    By judoman in forum C Programming
    Replies: 1
    Last Post: 08-16-2004, 09:19 AM