/relibc/pthreads-emb/platform/dspbios/pte_test/ |
H A D | Configuration1.cdb | 5 param iComment :: "Do not delete, in use by cache" 6 param iIsUsed :: 0 7 param iId :: 0 8 param iDelUser :: "USER" 9 param iDelMsg :: "ok" 10 param base :: 1048576 11 param len :: 0 12 param iAllocHeap :: 0 13 param iHeapSize :: 32768 14 param iUserHeapId :: 0 [all …]
|
/relibc/pthreads-emb/tests/ |
H A D | priority2.c | 94 struct sched_param param; in func() local 98 assert(pthread_getschedparam(pthread_self(), &policy, ¶m) == 0); in func() 103 assert(pte_osThreadGetPriority(pte_osThreadGetHandle()) == param.sched_priority); in func() 105 return (void *) param.sched_priority; in func() 115 struct sched_param param; in pthread_test_priority2() local 134 for (param.sched_priority = pte_osThreadGetMinPriority(); in pthread_test_priority2() 135 param.sched_priority <= pte_osThreadGetMaxPriority(); in pthread_test_priority2() 136 param.sched_priority++) in pthread_test_priority2() 139 assert(pthread_setschedparam(t, SCHED_OTHER, ¶m) == 0); in pthread_test_priority2() 149 assert(param.sched_priority == (int)result); in pthread_test_priority2()
|
H A D | inherit1.c | 91 struct sched_param param; in func() local 93 assert(pthread_getschedparam(pthread_self(), &policy, ¶m) == 0); in func() 95 return (void *) param.sched_priority; in func() 104 struct sched_param param; in pthread_test_inherit1() local 132 for (param.sched_priority = prio; in pthread_test_inherit1() 133 param.sched_priority <= pte_osThreadGetMaxPriority(); in pthread_test_inherit1() 134 param.sched_priority++) in pthread_test_inherit1() 137 assert(pthread_attr_setschedparam(&attr, ¶m) == 0); in pthread_test_inherit1()
|
H A D | priority1.c | 100 struct sched_param param; in func() local 103 assert(pthread_getschedparam(threadID, &policy, ¶m) == 0); in func() 105 assert(param.sched_priority == (int) pthreadPrio); in func() 107 assert(pte_osThreadGetPriority(pte_osThreadGetHandle()) == param.sched_priority); in func() 118 struct sched_param param; in pthread_test_priority1() local 123 param.sched_priority = sched_get_priority_min(SCHED_OTHER) + 1; in pthread_test_priority1() 125 assert(pthread_attr_setschedparam(&attr, ¶m) == 0); in pthread_test_priority1()
|
H A D | once4.c | 108 struct sched_param param; in mythread() local 122 param.sched_priority = bag->myPrio; in mythread() 123 pthread_setschedparam(self, SCHED_OTHER, ¶m); in mythread()
|
H A D | exit1.c | 47 static void * func(void * param) in func() argument
|
/relibc/pthreads-emb/ |
H A D | pthread_attr_setschedparam.c | 52 const struct sched_param *param) in pthread_attr_setschedparam() argument 56 if (pte_is_attr (attr) != 0 || param == NULL) in pthread_attr_setschedparam() 61 priority = param->sched_priority; in pthread_attr_setschedparam() 70 memcpy (&(*attr)->param, param, sizeof (*param)); in pthread_attr_setschedparam()
|
H A D | pthread_attr_getschedparam.c | 52 struct sched_param *param) in pthread_attr_getschedparam() argument 54 if (pte_is_attr (attr) != 0 || param == NULL) in pthread_attr_getschedparam() 59 memcpy (param, &(*attr)->param, sizeof (*param)); in pthread_attr_getschedparam()
|
H A D | pthread_getschedparam.c | 49 struct sched_param *param) in pthread_getschedparam() argument 64 if (policy <= (int *) SCHED_MAX || param == NULL) in pthread_getschedparam() 78 param->sched_priority = ((pte_thread_t *)thread)->sched_priority; in pthread_getschedparam()
|
H A D | pthread_setschedparam.c | 49 const struct sched_param *param) in pthread_setschedparam() argument 72 return (pte_setthreadpriority (thread, policy, param->sched_priority)); in pthread_setschedparam()
|
H A D | pthread.h | 686 struct sched_param *param); 689 const struct sched_param *param); 879 const struct sched_param *param); 883 struct sched_param *param);
|
H A D | pthread_attr_init.c | 110 attr_result->param.sched_priority = pte_osThreadGetDefaultPriority(); in pthread_attr_init()
|
H A D | create.c | 135 priority = a->param.sched_priority; in pthread_create()
|
H A D | implement.h | 122 struct sched_param param; member
|
/relibc/src/header/stdlib/ |
H A D | mod.rs | 450 pub unsafe extern "C" fn lcong48(param: *mut c_ushort) { in lcong48() 452 let xsubi_value = rand48::u48_from_ushort_arr3(&*(param as *const [c_ushort; 3])); in lcong48() 456 rand48::A = rand48::u48_from_ushort_arr3(&*(param.offset(3) as *const [c_ushort; 3])); in lcong48() 460 rand48::C = *param.offset(6) as u16; in lcong48()
|