This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Description
MicroPython v1.8.6-849-83e2f7f on 2018-03-19; GPy with ESP32
- Exact steps to cause this issue
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.