fix for #25 by using mutexes for hwtimer_wait
add oneway calloc
Merge pull request #105 from OlegHahm/hwtimer_wait

fix for #25 by using mutexes for hwtimer_wait
Merge pull request #113 from mehlis/oneway-calloc

add oneway calloc