FSBank_Build in Multiple Threads

Hello, I’m using the FSBank library on a server to convert user-uploaded audio into banks, and wanted to confirm if it is not possible to build banks simultaneously in multiple threads.

In my tests, I noticed that FSBank_Build seems to allow only one thread at a time (bad memory access otherwise), so am currently using a lock.

If this is the case, are there any potential workarounds?


Internally we will use multiple threads to speed up the build process. However, there is no way to work around this.

Thank you for confirming this. For the scale of my project it’s currently not an issue, but helpful to know for the future. I’ll look into using multiple server instances if it ever becomes necessary.

1 Like