Skip to content

misc improvements#324

Merged
Smattr merged 3 commits into
mainfrom
smattr/f6dbf97f-9cbc-43a9-9819-730e72f18b0d
May 14, 2026
Merged

misc improvements#324
Smattr merged 3 commits into
mainfrom
smattr/f6dbf97f-9cbc-43a9-9819-730e72f18b0d

Conversation

@Smattr
Copy link
Copy Markdown
Owner

@Smattr Smattr commented May 14, 2026

No description provided.

Comment thread rumur/resources/header.c Outdated
Comment on lines +2770 to +2771
struct state **target = queue_handle_to_state_pptr(next_tail);
if (!__atomic_compare_exchange_n(target, &(struct state *){NULL}, s,
const struct state **target = queue_handle_to_state_pptr(next_tail);
if (!__atomic_compare_exchange_n(target, &(const struct state *){NULL}, s,
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-format

Comment thread rumur/resources/header.c Outdated
Comment on lines +3579 to +3581
assert(*count <= ((size_t)1) << STATE_SIZE_BITS &&
"seen set size "
"exceeds total possible number of states");
}
"seen set size exceeds total possible number of states");
#endif
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-format

Smattr added 3 commits May 13, 2026 18:13
These do not need to modified, either within the queue or after being
dequeued.
This seems to be a persistent problem in the CMake world with no
principled solution. Lets do users a favour and try to error early when
we detect something like this.
@Smattr Smattr force-pushed the smattr/f6dbf97f-9cbc-43a9-9819-730e72f18b0d branch from 85c783a to 2b5c86b Compare May 14, 2026 01:13
@Smattr Smattr merged commit 4d1b472 into main May 14, 2026
22 checks passed
@Smattr Smattr deleted the smattr/f6dbf97f-9cbc-43a9-9819-730e72f18b0d branch May 14, 2026 04:06
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.

1 participant