On 04/02/13 14:30, Jan Holesovsky wrote: > Regarding your question in the bug - LO has its own threading API, you > can use class Thread from sal/inc/osl/thread.hxx > > http://cgit.freedesktop.org/libreoffice/core/tree/sal/inc/osl/thread.hxx > > You basically want to derive your class SomeGoodNameThread: class Thread > {}; where you overload the virtual run(); method.
no, you should not derive from osl::Thread but instead from salhelper::Thread which avoids some pitfalls automatically. salhelper/inc/salhelper/thread.hxx _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice