User forums > Help

Code::Blocks freezes for 2-5 seconds after file save

<< < (3/3)

mandrav:

--- Quote from: Der Meister on October 19, 2006, 09:26:22 am ---I guess updating or creating the symbols tree in a separate thread won't work due to concurrency issues?

If true, what about hiding the tree (and showing a message like "Please wait..." instead) and updating/creating it in a separate thread and showing it again after the thread for updating/creating has finished? Could this work?

--- End quote ---

It is in a separate thread but we 're having problems with it. Actually, we must call wxGuiMutexEnter/Leave which locks the whole gui anyways. It's what wx needs when a different thread needs to operate on a control.
We 're currently considering alternative ways for fixing this. Hopefully, it won't take long.

darus:

--- Quote from: mandrav on October 19, 2006, 09:07:10 am ---If you change the symbols view to "Current file", 2-5 seconds will become more like 0.1-0.3 seconds (for your average file).

--- End quote ---

Yes, it works! Thanks!

Navigation

[0] Message Index

[*] Previous page

Go to full version