Long running DBI queries == no GUI interaction
- From: Grant McLean <grant mclean net nz>
- To: gtk-perl-list gnome org
- Subject: Long running DBI queries == no GUI interaction
- Date: Wed, 24 Nov 2004 10:17:11 +1300
Hi All
I want to have my perl-gtk app query a database using DBI and
display the query results. Some of the queries can take minutes
to run and a naive implementation would mean all GUI interaction
was blocked until the $dbh->execute returned.
Is this a solved problem? I can envisage a fairly simple
workaround that involves forking a child to run the query and
passing the results back over a pipe or socket using IO events,
but obviously would prefer not to write the code if there's an
existing solution.
Cheers
Grant
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]