add thread_affinity() to fiber's public interface