Closed JirkaAichler closed 1 year ago
The instruction stream does not look like Go generated code, I think the underlying LE service for record I/O is not thread-safe. We might have to attach a mutex to the file handle. For now, you can use a global mutex around these calls.
Thank you for your answer. I would suggest mentioning this information inside a doc that would warn inexperienced Go programmers like me :-)
I am trying to read data sets with the following code:
It works fine for a single access. When I call this function in parallel, it crashes after a while. Parallel calls are done by REST server.
Error:
Any idea how to fix it?