Database::Async::SQLite - support for an SQLite thread in IO::Async code
This is not currently usable. Please don't get your hopes up - it's merely a compilation test to see whether C++11 and XS is a viable mix.
This uses a combination of eventfd for signalling, and a Unix-domain socket for data transfer. There's a minimal sqlite binding which runs in a separate thread, accepting sqlite instructions (queries etc.) and sending back data/errors as appropriate.
eventfd
The original code used a standalone worker pool - this version moves that in-process and switches to XS.
No method documentation or usage examples, for reasons that may become apparent if you read the above paragraphs.
Tom Molesworth <TEAM@cpan.org>
Copyright Tom Molesworth 2015-2017. Licensed under the same terms as Perl itself.
To install Database::Async::SQLite, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Database::Async::SQLite
CPAN shell
perl -MCPAN -e shell install Database::Async::SQLite
For more information on module installation, please visit the detailed CPAN module installation guide.