[Qt-interest] QtConcurrent::Exception

Sylvain Pointeau sylvain.pointeau at gmail.com
Thu May 7 15:30:56 CEST 2009


I don't think that the exceptions in C++ can be thrown in one thread and
catched in another.

Cheers,
Sylvain

On Wed, May 6, 2009 at 2:18 PM, Niklaus Hersche <niklaus.hersche at gesys.ch>wrote:

> Hi,
>
> In a worker thread I want to throw a QtConcurrent::Exception and catch it
> in
> the main thread.
>
>
> According the documentation,
>
> " Base class for exceptions that can transferred across threads"
>
> this should be possible.
>
> Does anybody know how to implement it ?
>
>
> Regards
> Nik
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090507/006d5d4f/attachment.html 


More information about the Qt-interest-old mailing list