On Sat, May 31, 2008 at 11:07 AM, Derek Atkins <[EMAIL PROTECTED]> wrote:
> Keep in mind that most of the gnucash code is NOT thread safe! > The whole reason I was thinking about threading was to be able to put progress bars directly in the QIF importer druid pages, rather than using popup dialogs (gnc_progress_dialog_xxx functions). I thought I could kick off a long-running Guile thread, then check its status occasionally and show the user how things are progressing. But threading doesn't seem to be an option. So maybe while Guile is running, it could just call a progress reporting function once in a while that updates the druid's widgets. Are there existing GnuCash functions that support progress bars and let me specify my own progress bar widget? (My guess would be "no", since the splash screen would seem to be a similar case, and it appears to have needed to supply custom functions for updating its progress bar.) Cheers, Charles > -derek > > > Quoting Charles Day <[EMAIL PROTECTED]>: > > I was thinking about using some Guile threading but it seems that thread >> support is disabled because Guile was built with the >> --disable-linuxthreads >> option (set by packaging/win32/install.sh). >> >> Is there any particular reason that Guile threads need to be disabled? (If >> so, then perhaps I could put the threading bits in C.) >> >> Thanks, >> Charles >> _______________________________________________ >> gnucash-devel mailing list >> gnucash-devel@gnucash.org >> https://lists.gnucash.org/mailman/listinfo/gnucash-devel >> >> > > > -- > Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory > Member, MIT Student Information Processing Board (SIPB) > URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH > [EMAIL PROTECTED] PGP key available > > _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel