Currently reading or writing from a LibSndFile stream blocks all of Julia because it uses libsndfile's read and write functions. If we could do the read/write in a separate thread and then notify an AsyncCondition condition, the Julia Task could just wait on the condition. Not sure if that could be done in pure Julia or if I'd need a little C shim, but that wouldn't be so bad...
Currently reading or writing from a LibSndFile stream blocks all of Julia because it uses libsndfile's read and write functions. If we could do the read/write in a separate thread and then notify an
AsyncConditioncondition, the Julia Task could just wait on the condition. Not sure if that could be done in pure Julia or if I'd need a little C shim, but that wouldn't be so bad...