Thread
:
PyQt Tips & Tricks
View Single Post
epage
2010-06-14 , 17:29
Posts: 1,684 | Thanked: 1,562 times | Joined on Jun 2008 @ Austin, TX
#
10
About threading. I haven't fully explore this yet since I haven't gotten to my relevant projects yet. I did read some material that suggest polling in an idle handler to push things back to the UI thread.
I was planning on experimenting with gobject
. In theory Qt switched to the gobject main loop which means I should be able to use gobject callbacks. I use the idle and timeout callbacks to push tasks between threads in my PyGTK apps and is all the synchronization I need.
(It saddens me that Qt doesn't have thread safe signals/slots like gobject/GTK do)
__________________
770, n810, n900, Ideapad S10-3t
TheOneRing
,
DialCentral
,
Gonvert
,
Quicknote
,
Multilist
,
ejpi
,
nQa
,
Waters of Shiloah
Programming Blog
Quote & Reply
|
epage
View Public Profile
Send a private message to epage
Visit epage's homepage!
Find all posts by epage