Csound Csound-dev Csound-tekno Search About

[Csnd-dev] Windows 8.0 vs Windows 8.1

Date2017-11-21 23:34
FromMichael Gogins
Subject[Csnd-dev] Windows 8.0 vs Windows 8.1
For what it's worth I have identified a problem with my local build of
Csound, which is based on the AppVeyor build. It has to do with the
three synchronization barrier functions required now by Csound:

DeleteSynchronizationBarrier
EnterSynchronizationBarrier
InitializeSynchronizationBarrier

These functions are found in kernel32.dll in Windows 8.1, but not in
Windows 8.0, even though the MIcrosoft documentation says they are
found in Windows 8.0.

Previously, I had #ifdef'd these functions with stubs, but I have
removed these #ifdefs. As a result, although I can BUILD Csound
locally, I can't RUN it locally -- neither from my local build, nor
from a download of the AppVeyor build.

I do have, on my computer, the API-MS-WIN-CORE-SYNCH-L1-2-0.DLL shared
library that actually defines these functions. Perhaps it's possible
to link directly with this library on Windows 8.0.

I am looking for a workaround. If anyone has any suggestions I'd be
glad to hear them.

Regards,
Mike

-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com