[snip]

>This seems a like a sensible thing to do however watch out for code 
that
>manipulates the timer in the call-back code. The Spell Checker
>does this. Does ThreadLocker poll a member variable until it becomes 
true
>or does if just give up on that event?

ThreadLocker would poll until the other thread gave up the lock (by 
Unlock)

> 
>I think we should also put locks around all the Public pieceTable
>Manipulations in pd_Document.cpp. This is not much code and will make 
Abi
>mostly thread safe. I say mostly because there might be calls 
somewhere
>that by pass pd_Document and go striaght to the PieeTable. If so we 
should
>hunt them down and replace them with calls through pd_Document.
>
>Anyway I'm off bugfixing the select-all - paste bug. 
>
>Martin
>
>



Reply via email to