opendnssec/SoftHSMv2 — pull request #12 by fxdupont (2013-09-13 13:44:43+00:00)
Title: OS X experiments

I pushed a 'use main(void)' change as push requests require a not-empty diff...
BTW 'main()' is correct too and perhaps more C++.

About OS X, I got 2 issues about the semaphore code:
- name collision between "semaphore.h" and "Semaphore.h"
(note it doesn't really matter because the second)
- sem_getvalue() always fails (it links but is not implemented...)
I tried a code using a mutex/condition variable pair with reference count
and a memoize device to manage sharing. It works well but I prefer
to push it after the WIN32 merge.