Skip to content

Commit 39a52cd

Browse files
GuEe-GUIRbb666
authored andcommitted
[LIBC/AIO] Set the AIO work stack size default.
Signed-off-by: GuEe-GUI <[email protected]>
1 parent db9ee0c commit 39a52cd

File tree

1 file changed

+1
-1
lines changed
  • components/libc/posix/io/aio

1 file changed

+1
-1
lines changed

components/libc/posix/io/aio/aio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ int lio_listio(int mode, struct aiocb * const list[], int nent,
498498
*/
499499
int aio_system_init(void)
500500
{
501-
aio_queue = rt_workqueue_create("aio", 2048, RT_THREAD_PRIORITY_MAX/2);
501+
aio_queue = rt_workqueue_create("aio", IDLE_THREAD_STACK_SIZE, RT_THREAD_PRIORITY_MAX/2);
502502
RT_ASSERT(aio_queue != NULL);
503503

504504
return 0;

0 commit comments

Comments
 (0)