Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Open
niv wants to merge 1 commit intonwnxee:masternwnxee/unified:masterfrom
niv:pr/sql-asyncniv/unified:pr/sql-asyncCopy head branch name to clipboard
Open

[WIP] sql: support running queries on async thread#1518
niv wants to merge 1 commit intonwnxee:masternwnxee/unified:masterfrom
niv:pr/sql-asyncniv/unified:pr/sql-asyncCopy head branch name to clipboard

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.