You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently using UMPSCQueue<Task, true> to implement a rather simple scheduler where multiple threads enqueue the task and one worker thread receives them.
And after some user code change, the queue now constantly crash at:
@yfeldblum I can't provide a minimum test at the moment. But I ran some debugging to find out hptr.get_protected(p_.tail); returns a null segment that leads to the assertion failure.
I am currently using UMPSCQueue<Task, true> to implement a rather simple scheduler where multiple threads enqueue the task and one worker thread receives them.
And after some user code change, the queue now constantly crash at:
I was suspecting the queue size went out of limit, so I use DMPSCQueue to implement the same logic, and it crashed at the exact same spot.
Am I doing anything wrong here? What behaviour could possibly break this assertion? Thanks!
p.s. the scheduler code
The text was updated successfully, but these errors were encountered: