You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 16, 2024. It is now read-only.
What you expected
Calling a _thread.start_new_thread with a function, which takes no args, should return with new thread ID if called without any args - ie empty list should not be required.
What happened instead
thread starts, but never returns. Main hangs.
If it needs/expects an empty list it should throw an exception or accept no args and return. Not hang main.
The text was updated successfully, but these errors were encountered:
MicroPython v1.8.6-849-83e2f7f on 2018-03-19; GPy with ESP32
Call _thread.start_new_thread with a function that takes no arguments, without supplying an empty list thus;
self.gps_thread = _thread.start_new_thread(self.feedMicroGPS)
It works if I do this;
self.gps_thread = _thread.start_new_thread(self.feedMicroGPS,())
What you expected
Calling a _thread.start_new_thread with a function, which takes no args, should return with new thread ID if called without any args - ie empty list should not be required.
What happened instead
thread starts, but never returns. Main hangs.
If it needs/expects an empty list it should throw an exception or accept no args and return. Not hang main.
The text was updated successfully, but these errors were encountered: