Tuesday, October 17th 2017, 1:27pm UTC+2

You are not logged in.

  • Login
  • Register

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