Félix-Antoine Bourbonnais   <[EMAIL PROTECTED]> writes:

| In February, I wrote about my intention to code a patch to implement an 
inline 
| (on the fly) spellchecker for LyX (see bug 718).
| 
| This is a preliminary version of the patch. There is still a lot of things 
| missing but before I continue, I want your opinion and your advice. 
| 
| 1. My principal concern is about loading a document. It is slow (Very Slow!) 
| because I'm checking every word in the document on the main thread (not in 
| the background).

I don't think you should run the spellcker when loading a document.

| The next step for me will be to run the spellchecker in the background using 
| multi-processing or multi-threading. Is there any problem to use pthreads in 
| Windows ? Is there any other situation where LyX uses threads ?

So far there has been quite a bit of reluctancy to use threads, so I
think should be avoided.

(And if we are going to use threads boost.thread should be used.)

-- 
        Lgb

Reply via email to