Tommaso Cucinotta <[email protected]> writes:

| Hi,
>
| I'd like to know what is the best recommended way to support
| multi-threading in LyX, as of now. I thought using Qt (i.e., QThread &
| related) is the most straightforward thing, as we already depend on
| Qt. However, I noticed the m4/lock.m4 configure options such as
| "--enable-threads":
>
|   --enable-threads={posix|solaris|pth|win32}
|                           specify multithreading API
|   --disable-threads       build without multithread safety
>
| and the accordingly defined MACROs [1]. So, I don't understand whether
| one should rely at all on any of these macros, as they would seem to
| be platform-specific and  non-portable. For example, I'd be tempted to
| use pthreads, but what would happen on Windows ?
>
| On a related note, what is the rationale of this line in configure.ac
>
|   #define BOOST_DISABLE_THREADS 1

That we never used threads before.
(or at the very least not at the time taht line was added.)

Reply via email to