Can I set the CPU Core for the context thread in JavaRTO API?

0x0000000000000010 is the bit mask I used as per CPU Affinity Mask Calculator for core 4. But after reading your response its clear that it is incorrect. Many thanks