7 years, 3 months ago.

Multi threaded Program crashes on mbed OS 5

I am testing mbed OS 5 using online compiler. Target is FRDM-KL25Z. While doing a multi-threaded test program, I found that for the target (M0), the program crashes if 5 threads (main + 4) are used. However program works fine if 4 (main + 3) threads are used. Also note that a 5 threads program does work under mbed classic.

I was also testing offline build of the same program and same target. The build crashes for 3 (main + 2) threads but works for 2(main+1) threads. /media/uploads/hemoo_mbed/main.cpp

Be the first to answer this question.