summaryrefslogtreecommitdiff
path: root/src/thread.c
Commit message (Collapse)AuthorAgeFilesLines
* threads: git_tls_data to git_tlsdataEdward Thomson2020-12-081-140/+67
| | | | Use a no-allocation approach to the TLS data abstraction.
* Implement generic TLS interfaceTyler Ang-Wanek2020-12-061-0/+213
This adds a generic TLS interface for anyone to store TLS data. It is designed to work regardless of whether threading support is built into the library or not. Nobody in the library should directly interface with the data on the TLS struct, so it's been built to be opaque even in the library. Requires the allocator to be initialized before use.