Questions tagged [task-switching]

24 questions
0
votes
0 answers

How to make TaskSwitchHookAdd execution work in VxWorks

I am seeing an issue on program that is running on embedded board on VxWorks platform. Problem description: A user space Task A with priority of 150 -> adds the TaskSwitchHookAdd((FUNCPTR) monitor_TaskA) to validate object states within TaskA via…
0
votes
2 answers

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 implementation on ARM architecture that preserve all…
smwikipedia
  • 61,609
  • 92
  • 309
  • 482
0
votes
0 answers

The wrong screen is displayed after one of my apps calls another

My app (app A) has options to send location data either to Google Maps, or to an app (app B) that I have written to display topographical maps The code in app A for calling the two apps is essentially identical btnGoogleMap.setOnClickListener { …
prepbgg
  • 3,564
  • 10
  • 39
  • 51
0
votes
1 answer

In Ubuntu, alt-tabbing to switch window doesn't open it even though window appears in task switcher

I try using Alt-Tab to switch to another window, and can see the window in Alt-Tab task switcher, but when I select it, it doesn't open. This happens to me for example with the Text Editor and also the File Manager, and has happened multiple times.
0
votes
1 answer

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 SS) or (SS0 and ESP0) after the context switch is…
Keith Ape
  • 1,103
  • 1
  • 12
  • 28
0
votes
1 answer

How to programatically make a key shortcut?

I'm not even sure if bash is the most proper way to achieve this but, I need to, programmatically, switch between opened applications on OS X. I'm thinking about doing a bash program to execute "cmd+tab". I'm unable to find this on a regular search,…
MEM
  • 30,529
  • 42
  • 121
  • 191
0
votes
1 answer

Bring TaskSwitcher Window to Foreground - possible?

DWORD myThreadId = GetCurrentThreadId(); HWND hwnd_TaskSwitcher = FindWindow("TaskSwitcherWnd", "Task Switching"); AttachThreadInput(myThreadId, GetWindowThreadProcessId(hwnd_TaskSwitcher, NULL),…
Ankur
  • 149
  • 7
0
votes
1 answer

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?
user1670407
0
votes
2 answers

Unable to switch task for Windows Form Application

I'm new to Visual Studio and C#. Just finished a Windows Form Application but detected following bugs. The program will dies (showing Not Responding) whenever user minimize/restores it, or switch to another task. This bug prevents user multitasking…
1
2