xant / libhl

Simple and fast C library implementing a thread-safe API to manage hash-tables, linked lists, lock-free ring buffers and queues
GNU Lesser General Public License v3.0
420 stars 117 forks source link

Queue Issues #31

Closed liaoyudong2 closed 2 years ago

liaoyudong2 commented 3 years ago

After actual testing, when in the single producer single consumer model, there is an infinite loop problem!

xant commented 3 years ago

could you provide the code hitting the issue?

xant commented 2 years ago

I'm not able to reproduce, please reopen this issue if you can reproduce and providing some example code.