25 questions
0
votes
0
answers
44
views
If the priority of AppTaskCreate is lower than that of the tasks it creates, will the created tasks start executing and cause it to be suspended?
In FreeRTOS, I want to create several tasks inside the task AppTaskCreate. If the priority of AppTaskCreate is lower than that of the tasks it creates, will the created tasks start executing and cause ...
0
votes
2
answers
176
views
How to decide the registers to be preserved for OS task switching?
When task switch happens in an OS, how to decide which registers should be preserved?
Is this purely decided by hardware architecture? Or also involve the OS implementation?
I once did some naïve ...
2
votes
0
answers
1k
views
How to correctly set up a task switch via x86 TSS
I'm trying to develop a basic kernel and I'd like to to have it perform a task switch to some code that I load into memory from an attached disk.
I've tried following chapter 7 in intel's manual but ...
1
vote
0
answers
904
views
Is there a benefit of saving the task context in linked lists rather than an simple stack?
I am trying to find a reason on why Infineon decided to use in it's Tricore architecture linked lists for saving the context of a task (when switching to another task).
The context is saved in fixed ...
0
votes
1
answer
2k
views
Task switching on the x86-32
what does the ESP and SS refer to?. For example, if I do a task switch from TASK_1 with privilege level of ring 0 to another TASK_2 at the same privilege level of ring 0. which will be used (ESP and ...
1
vote
0
answers
1k
views
Android prevent appearing sensitive data at task switcher without secure flag
Android task switcher shows the recent application details with current onpause screen shot. For security reason, I want to remove this screenshot from the task switcher with out implementing secure ...
2
votes
2
answers
130
views
Is there a way to handle the task switcher active?
So our app is handling when the app goes to background via this hack found elsewhere:
public static boolean isAppGoingToBackground(Context context)
{
boolean retVal = false;
...
0
votes
1
answer
126
views
Bring TaskSwitcher Window to Foreground - possible?
DWORD myThreadId = GetCurrentThreadId();
HWND hwnd_TaskSwitcher = FindWindow("TaskSwitcherWnd", "Task Switching");
AttachThreadInput(myThreadId, GetWindowThreadProcessId(hwnd_TaskSwitcher, NULL), 1);
...
5
votes
1
answer
965
views
Preventing Sensitive Information From Appearing In The Task Switcher - Apple Code Not Working - iOS 8 glitch?
This document: Preventing Sensitive Information From Appearing In The Task Switcher describes a way to present a view controller in applicationDidEnterBackground so as to hide critical information in ...
2
votes
2
answers
2k
views
Task switching on Cortext-M3 crashes after IRQ
I've used an exokernel model for my ARM Cortex-M3 OS. When a task wants to read from a UART it calls a library function, which, if there's no data, makes a SVC call to block the task (which causes the ...
0
votes
1
answer
418
views
RTOS Task Management
If a task is attempting to surrender the processor, what steps does a real time operating system need to execute to ensure that another task has the opportunity to run?
10
votes
4
answers
4k
views
Can task-switching keyboard shortcuts be disabled in W7 using Delphi?
MY application has had a mode for years where the customer can 'disable access to the OS'. Obviously this feature goes against the grain (at least as far as Windows is concerned) but there are ...
40
votes
4
answers
11k
views
Best practices for Alt-Tab support in a DirectX app?
When writing DirectX applications, obviously it's desirable to support the user suspending the application via Alt-Tab in a way that's fast and error-free. What is the best set of practices for ...