summaryrefslogtreecommitdiff
path: root/include/git2/commit.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@github.com>2016-11-18 07:34:20 -0500
committerEdward Thomson <ethomson@github.com>2016-11-18 16:52:28 +0000
commitbbf22f8229718571059cd579945b134772f9a73d (patch)
treea33f4bd59ae257b6ad3c5ab72c5a77a5c51ac00b /include/git2/commit.h
parent99479062dbb738ebc5892e163b701680cea91980 (diff)
downloadlibgit2-bbf22f8229718571059cd579945b134772f9a73d.tar.gz
clar: Introduce assertion helpers for threads
Don't `cl_git_pass` in a child thread. When the assertion fails, clar will `longjmp` to its error handler, but: > The effect of a call to longjmp() where initialization of the jmp_buf > structure was not performed in the calling thread is undefined. Instead, set up an error context that threads can populate, and the caller can check.
Diffstat (limited to 'include/git2/commit.h')
0 files changed, 0 insertions, 0 deletions