Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 4

Qt-interest Archive, April 2008
QObject::thread ()


Message 1 in thread

Hi,

What does function QObject::thread () return in the case when an QObject 
is created not in Qt thread ?
How QThread objects work with thread objects from other thread libs?

My application uses CORBA implementation threads for processing data 
sent from servers. What should happened
if QObjects are created in those threads and then come to process in Qt 
thread?

Thanks,
Vladimir

--
 [ signature omitted ] 

Message 2 in thread

Vladimir Romanovskiy a écrit :
> Hi,
>
> What does function QObject::thread () return in the case when an 
> QObject is created not in Qt thread ?
> How QThread objects work with thread objects from other thread libs?
>
> My application uses CORBA implementation threads for processing data 
> sent from servers. What should happened
> if QObjects are created in those threads and then come to process in 
> Qt thread?
>
> Thanks,
> Vladimir
>
> -- 
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with 
> "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>
Hi,
did you read this?
http://doc.trolltech.com/4.3/threads.html#signals-and-slots-across-threads

have no experience to help about corba and qt threads cohabitation. sorry.

--
 [ signature omitted ] 

Message 3 in thread

Véronique LEFRERE a écrit :
> Vladimir Romanovskiy a écrit :
>> Hi,
>>
>> What does function QObject::thread () return in the case when an 
>> QObject is created not in Qt thread ?
>> How QThread objects work with thread objects from other thread libs?
>>
>> My application uses CORBA implementation threads for processing data 
>> sent from servers. What should happened
>> if QObjects are created in those threads and then come to process in 
>> Qt thread?
>>
>> Thanks,
>> Vladimir
>>
>> -- 
>> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx 
>> with "unsubscribe" in the subject or the body.
>> List archive and information: http://lists.trolltech.com/qt-interest/
>>
>>
> Hi,
> did you read this?
> http://doc.trolltech.com/4.3/threads.html#signals-and-slots-across-threads 
>
>
> have no experience to help about corba and qt threads cohabitation. 
> sorry.
but, maybe you can have some answer reading this?

http://trolltech.com/products/qt/addon/solutions/catalog/4/Utilities/qtcorba




--
 [ signature omitted ] 

Message 4 in thread

Am Freitag, 18. April 2008 schrieb Vladimir Romanovskiy:
> What does function QObject::thread () return in the case when an QObject
> is created not in Qt thread ?
> How QThread objects work with thread objects from other thread libs?
> My application uses CORBA implementation threads for processing data
> sent from servers. What should happened
> if QObjects are created in those threads and then come to process in Qt
> thread?

As far as I know there is always at least one thread running that also runs 
the qt event-loop. Or at least a bridge from whatever_eventloop_you_use to 
the qt-eventloop. And there you get your thread.

Actually there is no "QObject not created in a QThread" because every object 
not created in a "specific" thread is created in the main-thread of the 
application (sometimes also known as the gui-thread).

Arnold

PS: Please don't hesitate to correct me, I still try to learn...
-- 
 [ signature omitted ] 

Attachment: signature.asc
Description: This is a digitally signed message part.