portPRIVILEGE_BIT does it do anything on esp32?
Posted: Tue Apr 30, 2024 2:30 pm
Hi all.
Searched the forum search (which sucks very hard) and the esp-idf documentation but could not find anything related.
I want to know if the `portPRIVILEGE_BIT` setting on a task does anything and if so what?
Take for example this piece of code:
Suppose there are 2 tasks with prio 10, one privileged and the other task unprivileged.
What difference does it make for the scheduler? Or any other effects?
Searched the forum search (which sucks very hard) and the esp-idf documentation but could not find anything related.
I want to know if the `portPRIVILEGE_BIT` setting on a task does anything and if so what?
Take for example this piece of code:
Code: Select all
taskResult = xTaskCreate(
serverTask,
"serverTask",
4096,
NULL,
(tskIDLE_PRIORITY + 10) | portPRIVILEGE_BIT,
NULL);
What difference does it make for the scheduler? Or any other effects?