Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement dot file locking for weird platforms #169

Closed
ncruces opened this issue Oct 15, 2024 · 0 comments · Fixed by #179
Closed

Implement dot file locking for weird platforms #169

ncruces opened this issue Oct 15, 2024 · 0 comments · Fixed by #179
Assignees
Labels
enhancement New feature or request

Comments

@ncruces
Copy link
Owner

ncruces commented Oct 15, 2024

Implement an sqlite3_dotlk build tag compatible with unix-dotfile on all systems (same as sqlite3_flock is compatible with unix-flock).

This would allow all systems (including e.g. Plan 9) to support single process concurrency, and might allow Unixes with only broken POSIX locks (e.g. Solaris, see #168) to even support shared memory WAL.

Of course this is also of limited use, in other ways:

  • only Windows/Linux/macOS/FreeBSD on amd64/arm64 support the wazero compiler
  • only big endian architectures can have shared memory (Wasm is big endian)
  • Windows still doesn't have mmap (Implement shared memory on Windows #75)
@ncruces ncruces added the enhancement New feature or request label Oct 15, 2024
@ncruces ncruces self-assigned this Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant