Menu

#41 download_single_doc_as_thread()

CVS
open
GUI (7)
5
2008-10-30
2008-10-29
Ger Hobbelt
No

TODO:

rewrite code in the tree view (and otherwise) to NOT invoke the download_single_doc_as_thread() thread on every click (as the thread, once finished, is never joined() again with the main thread and thus remains dormant (though terminated) until the end of the application run). Instead, kick one download_single_doc_as_thread() thread in the air at the start of the app and then feed it URLs on click. --> download_single_doc_as_thread() needs to wait for a URL to arrive; a little like the recurse() threads which check the cfg.urlstack (which is a queue).

Discussion

  • Ger Hobbelt

    Ger Hobbelt - 2008-10-30

    Looks like the today's frenzy with GUI lockups in multithreaded mode and the resultant fix also seems to take care of this one.... Needs further testing though.

     
  • Ger Hobbelt

    Ger Hobbelt - 2008-10-30
    • assigned_to: stoecker --> i_a
     

Log in to post a comment.

MongoDB Logo MongoDB