libgit2/libgit2sharp — comment on commit 7b511cdd862317e9038028e885d333e2da5eb947
File: LibGit2Sharp/Core/NativeMethods.cs line 29
By xpaulbettsx:

It's okay, see my general comment below - I'd also swap the init and event, because otherwise there's a tiny race window where you could exit after the event is set up but before git_threads_init is called