Hi there,
After looking in Pike thread sources it seems that there is a void thread_set_concurrency(int concurrency) function but it is not used because of that:
/* SIGH! No setconcurrency in posix threads. This is more or less * needed to make usable multi-threaded programs on solaris machines * with only one CPU. Otherwise, only systemcalls are actually * threaded. */ #define th_setconcurrency(X)
Do you know what this function was for ? Why it is not available ?
More generally is it possible to add an option in thread_create for the same as pthread_attr_setschedparam() ?