|
|
|
|
|
by ViewTrick1002
324 days ago
|
|
I would say it is a Go specific problem with how mutexes and defer are used together. In rust you would just throw a block around the mutex access changing the scoping and ensuring it is dropped before the slow function is called. Call it a minimally intrusive manual unlock. |
|