| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
A function to provide the initialization count of the library; this is
subject to race conditions but is useful for a naive determination as to
whether the library has been initialized or not.
|
| | |
|
| |
|
|
|
| |
Clarify the `git_atomic` type and functions now that we have a 64 bit
version as well (`git_atomic64`).
|
| |
|
|
|
| |
The git__noop function is more largely useful; move it into the
util header. (And reduce the number of underscores.)
|
| |
|
|
|
|
| |
This change avoids using the `(void)0` construct for some of the mutex
`#define`s, since that makes the "return type" of those "functions" to
be `void` instead of `int`.
|
|
|
Provide a mechanism for system components to register for initialization
and shutdown of the libgit2 runtime.
|