*** POSIX TEST 7 ***
Init's ID is 0x0c010001
Init: pthread_attr_init - EINVAL (NULL attr)
Init: pthread_attr_init - SUCCESSFUL
Init: initialize and destroy an attribute - SUCCESSFUL
Init: pthread_attr_destroy - EINVAL (NULL attr)
Init: pthread_attr_destroy - EINVAL (not initialized)
Init: pthread_create - EINVAL (attr not initialized)
Init: pthread_create - EINVAL (stacksize too small)
Init: pthread_create - EAGAIN (stacksize too large)
Init: pthread_create - EINVAL (invalid inherit scheduler)
Init: pthread_create - ENOTSUP (unsupported system contention scope)
Init: pthread_create - SUCCESSFUL (inherit scheduler)
Task_1: exitting
 
Init: pthread_attr_setscope - EINVAL (NULL attr)
Init: pthread_attr_setscope - ENOTSUP
Init: pthread_attr_setscope - EINVAL (not initialized attr)
Init: pthread_attr_setscope - EINVAL (invalid scope)
Init: pthread_attr_setscope - SUCCESSFUL
Init: pthread_attr_getscope - EINVAL (NULL attr)
Init: pthread_attr_getscope - EINVAL (NULL scope)
Init: pthread_attr_getscope - EINVAL (not initialized attr)
Init: pthread_attr_getscope - SUCCESSFUL
Init: current scope attribute = 0
 
Init: pthread_attr_setinheritsched - EINVAL (NULL attr)
Init: pthread_attr_setinheritsched - EINVAL (not initialized attr)
Init: pthread_attr_setinheritsched - ENOTSUP (invalid inheritsched)
Init: pthread_attr_setinheritsched - SUCCESSFUL
Init: pthread_attr_getinheritsched - EINVAL (NULL attr)
Init: pthread_attr_getinheritsched - EINVAL (NULL inheritsched)
Init: pthread_attr_getinheritsched - EINVAL (not initialized attr)
Init: pthread_attr_getinheritsched - SUCCESSFUL
Init: current inherit scheduler attribute = 1
 
Init: pthread_attr_setschedpolicy - EINVAL (NULL attr)
Init: pthread_attr_setschedpolicy - EINVAL (not initialized attr)
Init: pthread_attr_setschedpolicy - ENOTSUP (invalid schedpolicy)
Init: pthread_attr_setschedpolicy - SUCCESSFUL
Init: pthread_attr_getschedpolicy - EINVAL (NULL attr)
Init: pthread_attr_getschedpolicy - EINVAL (NULL schedpolicy)
Init: pthread_attr_getschedpolicy - EINVAL (not initialized attr)
Init: pthread_attr_getschedpolicy - SUCCESSFUL
Init: current scheduler policy attribute = 2
 
Init: pthread_attr_setstacksize - EINVAL (NULL attr)
Init: pthread_attr_setstacksize - EINVAL (not initialized attr)
Init: pthread_attr_setstacksize - SUCCESSFUL (low stacksize)
Init: pthread_attr_setstacksize - SUCCESSFUL (high stacksize)
Init: pthread_attr_getstacksize - EINVAL (NULL attr)
Init: pthread_attr_getstacksize - EINVAL (NULL stacksize)
Init: pthread_attr_getstacksize - EINVAL (not initialized attr)
Init: pthread_attr_getstacksize - SUCCESSFUL
Init: current stack size attribute = 5120
 
Init: pthread_attr_setstackaddr - EINVAL (NULL attr)
Init: pthread_attr_setstackaddr - EINVAL (not initialized attr)
Init: pthread_attr_setstackaddr - SUCCESSFUL
Init: pthread_attr_getstackaddr - EINVAL (NULL attr)
Init: pthread_attr_getstackaddr - EINVAL (NULL stackaddr)
Init: pthread_attr_getstackaddr - EINVAL (not initialized attr)
Init: pthread_attr_getstackaddr - SUCCESSFUL
Init: current stack address attribute = 0x0
 
Init: pthread_attr_setdetachstate - EINVAL (NULL attr)
Init: pthread_attr_setdetachstate - EINVAL (not initialized attr)
Init: pthread_attr_setdetachstate - EINVAL (invalid detachstate)
Init: pthread_attr_setdetachstate - SUCCESSFUL
Init: pthread_attr_getdetachstate - EINVAL (NULL attr)
Init: pthread_attr_getdetachstate - EINVAL (NULL detatchstate)
Init: pthread_attr_getdetachstate - EINVAL (not initialized attr)
Init: pthread_attr_getdetachstate - SUCCESSFUL
Init: current detach state attribute = 1
 
Init: pthread_attr_getschedparam - SUCCESSFUL
Init: sched priority      = 2
Init: ss_low_priority     = 0
Init: ss_replenish_period = (0, 0)
Init: ss_initial_budget = (0, 0)
Init: pthread_attr_setschedparam - EINVAL (NULL attr)
Init: pthread_attr_setschedparam - EINVAL (not initialized attr)
Init: pthread_attr_setschedparam - EINVAL (NULL schedparam)
Init: pthread_attr_setschedparam - SUCCESSFUL
Init: pthread_attr_getschedparam - EINVAL (NULL attr)
Init: pthread_attr_getschedparam - EINVAL (not initialized attr)
Init: pthread_attr_getschedparam - EINVAL (NULL schedparam)
 
Init: pthread_getschedparam - EINVAL (NULL policy)
Init: pthread_getschedparam - EINVAL (NULL schedparam)
Init: pthread_getschedparam - ESRCH (bad thread)
Init: pthread_getschedparam - SUCCESSFUL
Init: policy = 1
Init: sched priority      = 2
Init: ss_low_priority     = 0
Init: ss_replenish_period = (0, 0)
Init: ss_initial_budget = (0, 0)
 
Init: pthread_setschedparam - EINVAL (NULL schedparam)
Init: pthread_setschedparam - EINVAL (invalid priority)
Init: pthread_setschedparam - EINVAL (invalid policy)
Init: pthread_setschedparam - ESRCH (invalid thread)
Init: pthread_setschedparam - EINVAL (replenish < budget)
Init: pthread_setschedparam - EINVAL (invalid priority)
*** END OF POSIX TEST 7 ***
