cancel
Showing results for 
Search instead for 
Did you mean: 

What is the CMSIS-RTOS v2 replacement for osThreadSuspendAll()?

Rob.Riggs
Senior

Trying to port my code to CMSIS-RTOS v2 and running into some missing functionality. I don't see an osThreadSuspendAll() replacement.

1 ACCEPTED SOLUTION

Accepted Solutions
Pavel A.
Evangelist III

It looks like osKernelLock()

View solution in original post

3 REPLIES 3
Pavel A.
Evangelist III

It looks like osKernelLock()

Hello @Rob.Riggs​ ,

To migrate to CMSIS-RTOS v2, I advise you to consult the following link : Migration Guide

moreover, you will find all the differences between the API functions in this reference : Detailed API Function Differences

I hope this helps!

Best Regards,

Walid

Thank you. I am finding that migration guide rather lacking. I have consulted it. Searching for osThreadSuspendAll returns no results. It is not referenced on that page. There are a number of CMSIS-OS v1 functions that have no migration information and for which I just ended up having to use the underlying FreeRTOS functions.