Incorporate PR review comments:
	- Using index map for address table in each av
	- Remove extra static inline
	- Update pthread_join instead of pthread_cancel