moar concurreny problems

signaling that data is ready to use while the ressource is still locked
by a mutex is pretty stupid.