Hi,
Is there something in Qt that does the equivalent of pthread_once?
Thanks,
S.
Hi,
Is there something in Qt that does the equivalent of pthread_once?
Thanks,
S.
No, there isn't but why do you need it for?
It is only used for initialization purposes.
Maybe you can use QTimer::setSignleShot(true) or a thread without an event loop that just runs its run() once and terminates.
ShaChris23 (15th October 2007)
Bookmarks