pynbody.util.threadsafe_inline# pynbody.util.threadsafe_inline(*args, **kwargs)[source]# When scipy.weave.inline is called, it may trigger a compile. We only want one compilation to be going on at once, otherwise nasty race conditions arise. This function wraps scipy.weave.inline to be thread-safe.