From 62e770f9de9f6a208f01b6458e54d2400699238e Mon Sep 17 00:00:00 2001 From: weety Date: Tue, 31 May 2016 20:39:33 +0800 Subject: Fixed 64KB stack size limit. --- components/libc/pthreads/pthread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components') diff --git a/components/libc/pthreads/pthread.h b/components/libc/pthreads/pthread.h index 7481595682..2674599aac 100644 --- a/components/libc/pthreads/pthread.h +++ b/components/libc/pthreads/pthread.h @@ -87,7 +87,7 @@ enum struct pthread_attr { void* stack_base; - rt_uint16_t stack_size; /* stack size of thread */ + rt_uint32_t stack_size; /* stack size of thread */ rt_uint8_t priority; /* priority of thread */ rt_uint8_t detachstate; /* detach state */ -- cgit v1.3.1