TechnoBlog
Some computer and technology related musings.

Subscribe to
Posts [Atom]
links open windows
Friday, May 27, 2005
Pan Update

After thinking about the code for a while, I realized that there are some areas that could easily freeze Pans UI. While this would appear to be just a minor annoyance to some there is a bigger problem. The same event loop that handles the UI also handles the network code, so a frozen UI also means frozen network access. I don't know how much network data the OS will buffer before their is a problem so I've added some timer checks in a few places. The catch is that when handing off to the event loop like this I need to free any current sql statments so they won't interfere with any that might be executed by other fuctions. Anyway here is a new snapshot that adds a few such fixes.
  • delayed article updating is now an idle function that updates at most 100 articles at a time.
  • added timer check to group_load_all_articles.
  • changed article_load_articles to prevent sql problems.
  • minor change to decode_data.
rev. 217