Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
44 views

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 ...
pray's user avatar
  • 1
0 votes
2 answers
176 views

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 ...
smwikipedia's user avatar
2 votes
0 answers
1k views

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 ...
David's user avatar
  • 537
1 vote
0 answers
904 views

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 ...
Adi Grecu's user avatar
0 votes
1 answer
2k views

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 ...
Keith Ape's user avatar
  • 1,213
1 vote
0 answers
1k views

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 ...
Jeyahariprakash's user avatar
2 votes
2 answers
130 views

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; ...
Kevin DiTraglia's user avatar
0 votes
1 answer
126 views

DWORD myThreadId = GetCurrentThreadId(); HWND hwnd_TaskSwitcher = FindWindow("TaskSwitcherWnd", "Task Switching"); AttachThreadInput(myThreadId, GetWindowThreadProcessId(hwnd_TaskSwitcher, NULL), 1); ...
Ankur's user avatar
  • 151
5 votes
1 answer
965 views

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 ...
SAHM's user avatar
  • 4,189
2 votes
2 answers
2k views

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 ...
Isvara's user avatar
  • 3,473
0 votes
1 answer
418 views

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?
user avatar
10 votes
4 answers
4k views

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 ...
Brian Frost's user avatar
  • 13.5k
40 votes
4 answers
11k views

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 ...
chaos's user avatar
  • 125k