On Wed, 23 Apr 2003 14:10:05 +0200 "Andreas Roth" <suse@arsoft-online.com> wrote:
i'm a Linux programming newbie. I developed several programs for Windows and i often use WaitForSingleObject and WaitForMultipleObjects in my programs. Is there a linux implementation of WaitForSingleObject and WaitForMultipleObjects? Or, how can i wait for multiple objects (event, semaphores, etc) ?
I think this is answered in the context of Linux (and QT), but you may consider sticking with the Windows API and using the WINE library directly. http://www.winehq.org/ Several commercial packages have used the WINE library to port their products to Linux, As far as QT is concerned, it is a more dynamic interface than Windows. You register a function to be called when an event occurs. You do not need to set up your own dispatcher. (If I recall from the last time I wrote a Windows app, you had to determine what the event was and invoke the appropriate function). Also, you can write a QT based app and run it on Windows. -- Jerry Feldman <gaf@blu.org> Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9