Results 1 to 8 of 8

Thread: Non GUI threads

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2011
    Posts
    12
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Non GUI threads

    Hi,
    I wanted to pop-up a message box from pthread


    Qt Code:
    1. //my main process
    2. {
    3. //calling a function say f1();
    4. }
    5.  
    6. //in f1() I am creating a pthread
    7. {
    8. if (0!=pthread_create(&AnsiCommon.BALthread,NULL, Dys_BalThread,NULL))
    9. {
    10. qDebug()<<"draw bal thread";
    11. //fprintf(AnsiCommon.fpLogPI,"ECG Thread error\n");
    12. }
    13. }
    14.  
    15. //my thread function Dys_BalThread doing some calculations:After satisfying some conditins i wanted to pop-up a message box
    To copy to clipboard, switch view to plain text mode 

    can anybody help me.....?
    Last edited by Lykurg; 21st July 2011 at 08:10. Reason: missing [code] tags

Similar Threads

  1. Qt Threads vs Native Threads performance
    By StackOverflow in forum Qt Programming
    Replies: 1
    Last Post: 14th November 2010, 12:14
  2. Threads in Qt
    By freekill in forum Qt Programming
    Replies: 4
    Last Post: 11th November 2009, 18:49
  3. Qt threads
    By ^Nisok^ in forum Newbie
    Replies: 12
    Last Post: 22nd April 2009, 14:35
  4. Threads...
    By Abc in forum Qt Programming
    Replies: 1
    Last Post: 19th June 2008, 17:35
  5. Once more: Threads in Qt4
    By high_flyer in forum Qt Programming
    Replies: 5
    Last Post: 9th August 2006, 18:35

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.