in reply to Re: threads and their alternatives
in thread Alternatives to threads for maintaining GUI app responsiveness
As an aside, AnyEvent is fairly portable and has a solution to blocking APIs like DBI. Whether that solution is really a good solution stands to debate - it spawns an external process which executes the fetch and then passes the results back via IPC. In principle, this idea isn't all bad, except that I wouldn't use one external process per query but a separate thread that does all database interaction.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: threads and their alternatives
by BrowserUk (Patriarch) on Sep 30, 2011 at 21:42 UTC | |
by Corion (Patriarch) on Sep 30, 2011 at 21:51 UTC | |
by BrowserUk (Patriarch) on Sep 30, 2011 at 22:20 UTC | |
by Corion (Patriarch) on Sep 30, 2011 at 22:26 UTC |