News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

ThreadSearch stop button doesn't work

Started by oBFusCATed, October 11, 2011, 04:57:50 PM

Previous topic - Next topic

oBFusCATed

Sometimes the search/worker thread is not stopped, when I click on the stop button in the panel.
I don't know if it happens only for long searches (the whole project tree) or on every search.
Have anyone seen such behaviour?
The symptoms are that C::B is using a full core at 100%. You can start a second search and now C::B is using 2 cores at 100%.

It seems like a data race, but where... :(
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Jenna

Works here, but I found another issue:
sometimes, if I click fast the search/stop-button gets disabled and is enabled again after I click into the textcontrol and hit enter to start the search.

I will try to find the reason.

oBFusCATed

Jens:
Another problem the search is super slow, when I search the whole project (there are tons of files).
Have you tried to do the search on multiple worker threads, so a multi-core cpu can be utilized better?
Also what is the slowest part? It is not reading the files from disk, but something on the CPU,
because iostat tells me zero utilization of my disk, but the CPU is burning hot.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]