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
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.