created spinlocksemaphorestrategy.c