_thread module in micropython

You may find an answer here but this is really a question for a micropython forum. I think you'll find there that you can run two concurrent-ish threads, one per core, and that semaphores are provided for sharing data.