use hthread_find/hthread_find_self
Merge branch 'master' into race-detection

Conflicts:
	src/hthread.c