Tuesday, October 17th 2017, 8:05am UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Kenny

Beginner

Date of registration: Jul 17th 2008

Posts: 71

Location: San Francisco Bay Area

Occupation: Embedded Systems Engineer

1

Thursday, October 5th 2017, 1:28am

Will OS_EnterRegion()/OS_LeaveRegion() prevent a software timer from running its handler?

Thanks,

Kenny

SEGGER - Til

Super Moderator

Date of registration: Nov 14th 2007

Posts: 255

2

Thursday, October 5th 2017, 8:38am

Hi Kenny,

Yes, embOS software timer are executed from within the scheduler.
Therefore you should keep your critical regions with OS_EnterRegion()/OS_LeaveRegion() as short as possible.

Best regards,
Til