docs: 我想更改_thread模块中的任务创建方式,我应该在哪里找到创建该模块的文件 #16941
Replies: 3 comments 5 replies
-
Please use English for contributions. |
Beta Was this translation helpful? Give feedback.
-
Translated: I want to change the way tasks are created in the _thread module, where should I find the file that creates it? The file is port-specific. Usually it's in |
Beta Was this translation helpful? Give feedback.
-
What do you call the size & core of the created thread. You can set the stacksize by calling _thread.stacksize(n) with the new stacksize before starting the thread. The MCU core on which the thread executes is defined by the port. Usually you cannot change it. The main module for _threading is in py/modthread.c. It call port-specific function in the port's mpthreadport .c. Which port do you use? ESP32? RP2 Pico? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Documentation URL
No response
Description
我想更改_thread模块中的任务创建方式,我应该在哪里找到创建该模块的文件
Code of Conduct
Yes, I agree
Beta Was this translation helpful? Give feedback.
All reactions