Optimized compilation and implemented ability to specify the parent-thread core for each application