spinlock_release.asm
bitfixer_bitfixer/dg/z88dk/libsrc/_DEVELOPMENT/threads/mutex/c/sdcc_iy/spinlock_release.asm

; void spinlock_release(char *spinlock)

SECTION code_clib
SECTION code_threads_mutex

PUBLIC _spinlock_release

EXTERN asm_spinlock_release

_spinlock_release:

   pop af
   pop hl
   
   push hl
   push af

   jp asm_spinlock_release
