what happen if donot set scheduling policy attribute of thread attributes object pthread_attr_setschedpolicy? if directly go ahead , create , cancel thread main loop? in case system needs pthread_attr_setschedpolicy set before thread creation application? if leave scheduler policy unset in case system requires application set that?
the default policy of thread applicable in case.
check this. posix thread scheduling policies
for more details information of kernel level can check following link
Comments
Post a Comment