Cameron
Cameron
Yeah, it seems this code was less well tested than I remembered :-/ I only recently re-enabled `MOODYCAMEL_CPP11_THREAD_LOCAL_SUPPORTED` by default which is why you're hitting these issues now. So, thanks...
Should be fixed. Let me know if you come across any other issues.
Are you using the same token from multiple threads?
Sounds like that's still only one thread using each token. Based on the information provided, there's no reason for the queue to assert. Can you share some code?
It sounds like you want a circular ring-buffer that supports elements being overwritten on overflow. It is not possible to overwrite elements with my queue, however you can limit the...
Ugh, that's annoying! I can't change this without breaking the API. Can you not include `` after `concurrentqueue.h`? Or undef the macro?
I'm tempted, but it won't be for a while. My concurrentqueue project had a C API contributed via pull request, but I'm still not sure of the best approach.
The code you've posted should compile. What is the exact error you're getting? Can you share a short reproducible example?
Interesting. Maybe try `-Os -fomit-frame-pointer` instead of `-O3`? I'd have to look at the disassembly to see what's different.
No difference with `-Os -fomit-frame-pointer`. I looked a little more into it, but it's hard to tell exactly what's going on in the context of the full benchmark. In isolation,...