Skip to content

[WIP] sql: support running queries on async thread#1518

Open
niv wants to merge 1 commit intonwnxee:masterfrom
niv:pr/sql-async
Open

[WIP] sql: support running queries on async thread#1518
niv wants to merge 1 commit intonwnxee:masterfrom
niv:pr/sql-async

Conversation

@niv
Copy link
Copy Markdown
Contributor

@niv niv commented May 1, 2022

  • reuse pool<> from redis and move to nwnxlib namespace (is this a good place?)
  • wrap all query state into a Context object, which are hopefully self-contained can be passed to threads
  • some really iffy code that does double-scheduling to run stuff async and then back on main thread
  • untested

fixes #18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SQL: Asynchronous query support

1 participant