-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support taskENTER_CRITICAL? #10
Comments
Yes. It's part of the kernel namespace. |
Thank you. For my knowledge, why is it there and not part of Task? What is the division between Kernel and Task? (I had expected things that begin with |
The idea was to put things in the Task class operate on a specific instance of a task or take
|
Because |
Hi John,
Do you support the ENTER/EXIT critical with a scope_lock sort of class?
Mil
…________________________________
From: Jon Enz ***@***.***>
Sent: Thursday, September 21, 2023 9:15 AM
To: jonenz/FreeRTOS-Cpp ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [jonenz/FreeRTOS-Cpp] Support taskENTER_CRITICAL? (Issue #10)
*External Email* Think Before You Click.
Because taskENTER_CRITICAL() is intended to be called from task context, it may make sense to move it to a protected function of the task class by the same logic as delay() (see #2<#2>), but it wouldn't make sense to do that for taskENTER_CRITICAL_FROM_ISR() which might be a bit confusing...
—
Reply to this email directly, view it on GitHub<#10 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AEWRWU5O4JVC5L7U5TGPB63X3RR37ANCNFSM6AAAAAA5BWPJ5Q>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
CONFIDENTIAL: The information contained in this email communication is confidential information intended only for the use of the addressee. Unauthorized use, disclosure or copying of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by return email and destroy all copies of this communication, including all attachments.
|
No, but I would be open to adding some of these implementations in another folder. |
This C++ wrapper looks excellent - a simple wrapper that does exactly that without ruining FreeRTOS or doing more than I ask for.
Do you support
taskENTER_CRITICAL
https://www.freertos.org/taskENTER_CRITICAL_taskEXIT_CRITICAL.html ? I couldn't find any such methods.The text was updated successfully, but these errors were encountered: