diff options
| author | Vicent Marti <tanoku@gmail.com> | 2011-03-15 21:04:41 +0200 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2011-03-15 21:14:07 +0200 |
| commit | bbcc7ffc690c4065954102530447aef4e8ccf895 (patch) | |
| tree | 94566de36b18a1345a83a33fd8be9df0a35afe35 /README.md | |
| parent | b5abb881a623b8b492e0375b8e9c8936079c39bb (diff) | |
| download | libgit2-bbcc7ffc690c4065954102530447aef4e8ccf895.tar.gz | |
Add proper threading support to libgit2
We now depend on libpthread on all Unix platforms (should be installed
by default) and use a simple wrapper for Windows threads under Win32.
Signed-off-by: Vicent Marti <tanoku@gmail.com>
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -34,15 +34,17 @@ libgit2 is already very usable. Building libgit2 - External dependencies ======================================== -libgit2 builds cleanly on most platforms without any external dependencies. However, the following libraries -may be used on some platforms. +libgit2 builds cleanly on most platforms without any external dependencies. +Under Unix-like systems, like Linux, *BSD and Mac OS X, libgit2 expects `pthreads` to be available; +they should be installed by default on all systems. Under Windows, libgit2 uses the native Windows API +for threading. + +Additionally, he following libraries may be used as replacement for built-in functionality: * LibSSL **(optional)** <http://www.openssl.org/> libgit2 can be built using the SHA1 implementation of LibSSL-Crypto, instead of the built-in custom implementations. Performance wise, they are quite similar. -* pthreads-w32 **(required for MinGW)** <http://sourceware.org/pthreads-win32/> - Building libgit2 - Using waf ====================== |
