base: Windows implementation of heim_base_once
commit4735faba597ba40fe09498e999839655877a63cc
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 29 Nov 2015 17:13:01 +0000 (29 12:13 -0500)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sun, 29 Nov 2015 17:15:10 +0000 (29 12:15 -0500)
tree6b2bac59847b57a7aacfbf8e7ad6632d21c002a2
parent6fbe672451be28a66952b13657fd5d5760a899f6
base: Windows implementation of heim_base_once

Provide a Windows implementation of heim_base_once that relies upon
InterlockedCompareExchange() and SwitchToThread().

Change-Id: I9cdbda796d1a27fe1e17be63f287b10132858d7f
lib/base/heimbase.c
lib/base/heimbase.h