The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Database::Async::SQLite - support for an SQLite thread in IO::Async code

DESCRIPTION

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.

IMPLEMENTATION

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.

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.

AUTHOR

Tom Molesworth <TEAM@cpan.org>

LICENSE

Copyright Tom Molesworth 2015-2017. Licensed under the same terms as Perl itself.