chg: do not release semaphore 0 while waiting for links
Merge pull request #422 from steenpass/init_sem0

chg: do not release semaphore 0 while waiting for links
fix: syntax in m2_end