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
Unfortunately there is a deadlock in gitea.com/lunny/levelqueue.(*Queue).Close introduced by my commit in 0.4.0.
The locking order in the queue.Close() function is incorrect as the queue.Len() function locks the lowLock before the highLock. We therefore must lock the lowLock before the highLock.
Description
Unfortunately there is a deadlock in gitea.com/lunny/levelqueue.(*Queue).Close introduced by my commit in 0.4.0.
The locking order in the queue.Close() function is incorrect as the queue.Len() function locks the lowLock before the highLock. We therefore must lock the lowLock before the highLock.
This will be fixed upstream by: https://gitea.com/lunny/levelqueue/pulls/5
The text was updated successfully, but these errors were encountered: