]> git.lyx.org Git - features.git/commit
Make theWordList() thread safe.
authorGeorg Baum <baum@lyx.org>
Sun, 6 Jul 2014 16:12:57 +0000 (18:12 +0200)
committerGeorg Baum <baum@lyx.org>
Sun, 6 Jul 2014 16:12:57 +0000 (18:12 +0200)
commitf5cf3705d50b2cde45369e4707f57ea95995fada
tree1f2c506bb976da3a11c923bfa80d8102018f4278
parente64954e7d3e07c9e1c3701c9231e9987df55b686
Make theWordList() thread safe.

Without this, you get crashes in a few second when you set the autosave
interval to one second and edit quickly (typing new words etc). The reason
is that the cloned buffer wants to insert words into the word list and
remove them again, but it lives in a different thread.
src/WordList.cpp
status.21x