Distributed exclusive scheduling library