Skip to content

Add Missing Delete Macro in lightweightsemaphore.h#440

Merged
cameron314 merged 1 commit intocameron314:masterfrom
jan-moravec:bugfix/fix-missing-delete-macro-in-lightweightsemaphore
Feb 8, 2026
Merged

Add Missing Delete Macro in lightweightsemaphore.h#440
cameron314 merged 1 commit intocameron314:masterfrom
jan-moravec:bugfix/fix-missing-delete-macro-in-lightweightsemaphore

Conversation

@jan-moravec
Copy link
Contributor

I would like to use the lightweightsemaphore.h as a standalone header. To do that, we need to define the missing macro MOODYCAMEL_DELETE_FUNCTION.

Another options are to create a new common header or include the concurrentqueue.h.

@cameron314
Copy link
Owner

Thanks. Note that this header is based on code I didn't originally write, so mind the license in the header.

@cameron314 cameron314 merged commit 8a40b50 into cameron314:master Feb 8, 2026
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.

2 participants