aboutsummaryrefslogtreecommitdiff
path: root/crypto/compat/crypto_lock_win.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Handle malloc returning nullJohn Norrbin2019-01-041-2/+4
| | | Locks are required for multi-threading. If memory can't be allocated, exit the program with memory error. If we let the program continue, it will deadlock in the next part of the code anyway so better end it before.
* use InterlockedExchangeAdd for addBrent Cook2019-01-011-8/+6
|
* make locks self-initialize, switch to critical sectionsBrent Cook2019-01-011-12/+13
|
* include headerBrent Cook2018-11-111-0/+2
|
* added crypto_lock portable bitsBrent Cook2018-11-111-0/+53