crypto/compat/crypto_lock_win.c


Log

Author Commit Date CI Message
John Norrbin 1e848d2e 2019-01-04T19:24:59 Handle malloc returning null 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.
Brent Cook 565258a4 2019-01-01T13:50:17 use InterlockedExchangeAdd for add
Brent Cook e5081719 2019-01-01T02:40:59 make locks self-initialize, switch to critical sections
Brent Cook ff7a1831 2018-11-11T10:59:15 include header
Brent Cook 1e2937e1 2018-11-11T09:14:00 added crypto_lock portable bits