some more threading stuff for backends.