spinlock example compile time define
spinlock example runtime define and annotate compile time define