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

Improve API docs for bgzf_mt #1556

Merged
merged 1 commit into from
Jan 31, 2023
Merged

Conversation

jkbonfield
Copy link
Contributor

Note that this now works on reading as well as writing.

Removed the comment about only when compiled with -DBGZF_MT as this was misleading implying the user has to adjust CFLAGS. It's on by default and there's nothing the user can do to turn it off without manually editing bgzf.c, in which case they're on their own.

Also document that n_sub_blks now does nothing.

Fixes #1553

Note that this now works on reading as well as writing.

Removed the comment about only when compiled with -DBGZF_MT as this
was misleading implying the user has to adjust CFLAGS.  It's on by
default and there's nothing the user can do to turn it off without
manually editing bgzf.c, in which case they're on their own.

Also document that n_sub_blks now does nothing.

Fixes samtools#1553
@daviesrob daviesrob merged commit 818b449 into samtools:develop Jan 31, 2023
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.

Can we pass an input file descriptor to bgzf_mt ?
2 participants