Hi,

Please tell me how to test pthread_attr_setinherisched method?

I want to test ... If a thread is created with the option PTHREAD_INHERIT_SCHED, wwhether it is inheriting the properties of the calling thread.

I am having the thread attributes such as policy, scope, priority, nice and nice limit.

Now I should test when a thread is created from another thread, whether the new thread will have the same properties as the calling thread.