[scheduler] Allow set_affinity mask to be empty to make a thread not schedulable
[scheduler] Allow set_affinity mask to be empty to make a thread not schedulable

abanaiyan/sniper,abanaiyan/sniper,abanaiyan/sniper,abanaiyan/sniper,abanaiyan/sniper