Lines Matching defs:size
34 #define THREAD_STACK_SIZE 0 /* use default stack size */
37 /* The default stack size for new threads on BSD is small enough that
41 * The default stack size below is the empirically determined minimal stack
754 /* set the thread stack size.
755 * Return 0 if size is valid, -1 if size is invalid,
756 * -2 if setting stack size is not supported.
759 _pythread_pthread_set_stacksize(size_t size)
768 if (size == 0) {
780 if (size >= tss_min) {
781 /* validate stack size by setting thread attribute */
783 rc = pthread_attr_setstacksize(&attrs, size);
786 _PyInterpreterState_GET()->threads.stacksize = size;