471,336 Members | 1,423 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,336 software developers and data experts.

wxPython, threads, and search engine

I'm writing a search engine in Python with wxPython as the GUI. I have
the actual searching preformed on a different thread from Gui thread.
It sends it's results through a Queue to the results ListCtrl which
adds a new item. This works fine or small searches, but when the
results number in the hundreds, the GUI is frozen for the duration of
the search. I suspect that so many search results are coming in that
the GUI thread is too busy updating lists to respond to events. I've
tried buffer the results so there's 20 results before they're sent to
the GUI thread and buffer them so the results are sent every .1
seconds. Nothing helps. Any advice would be great.

Jul 18 '07 #1
0 841

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Gabriele Farina | last post: by
4 posts views Thread by tobfon | last post: by
2 posts views Thread by Kevin Walzer | last post: by
5 posts views Thread by Benjamin | last post: by
1 post views Thread by Benjamin | last post: by
12 posts views Thread by bullockbefriending bard | last post: by
reply views Thread by Paul Probert | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.