|
@@ -21,11 +21,11 @@ static rt_event_t dynamic_event = RT_NULL;
|
|
|
static rt_uint32_t dynamic_event_recv_thread_finish = 0, dynamic_event_send_thread_finish = 0;
|
|
|
|
|
|
rt_align(RT_ALIGN_SIZE)
|
|
|
-static char thread3_stack[1024];
|
|
|
+static char thread3_stack[UTEST_THR_STACK_SIZE];
|
|
|
static struct rt_thread thread3;
|
|
|
|
|
|
rt_align(RT_ALIGN_SIZE)
|
|
|
-static char thread4_stack[1024];
|
|
|
+static char thread4_stack[UTEST_THR_STACK_SIZE];
|
|
|
static struct rt_thread thread4;
|
|
|
#endif /* RT_USING_HEAP */
|
|
|
|
|
@@ -33,11 +33,11 @@ static rt_uint32_t recv_event_times1 = 0, recv_event_times2 = 0;
|
|
|
static rt_uint32_t static_event_recv_thread_finish = 0, static_event_send_thread_finish = 0;
|
|
|
|
|
|
rt_align(RT_ALIGN_SIZE)
|
|
|
-static char thread1_stack[1024];
|
|
|
+static char thread1_stack[UTEST_THR_STACK_SIZE];
|
|
|
static struct rt_thread thread1;
|
|
|
|
|
|
rt_align(RT_ALIGN_SIZE)
|
|
|
-static char thread2_stack[1024];
|
|
|
+static char thread2_stack[UTEST_THR_STACK_SIZE];
|
|
|
static struct rt_thread thread2;
|
|
|
|
|
|
#define THREAD_PRIORITY 9
|