This requires the threading support of emacs26+