Questions tagged [task-switching]
The task-switching tag has no usage guidance.
task-switching
24
questions
0
votes
0
answers
54
views
Why does code runs faster in VS debug. WPF [duplicate]
This simple test program runs considerably faster under Visual Studio Debug than in Release.
using System.Diagnostics;
using System.Windows;
namespace MyDebugTest
{
//test the performance of ...
0
votes
2
answers
112
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 ...
1
vote
1
answer
333
views
Get the count of currently active windows in the current Activity and Virtual Desktop?
There is a bug in KDE Activities where windows do not get focused and this requires to press Alt+Tab to switch to the last active window.
I want to count the number of the windows to press only when ...
2
votes
0
answers
965
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 ...
0
votes
0
answers
25
views
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 ...
1
vote
0
answers
754
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
1k
views
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 ...
0
votes
1
answer
1k
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
498
views
Android: Open external app, close it and return to original
I'm new to android development, and currently creating an app for remote control to use in a test enviroment.
What I'm trying to do is open an app, in this case netflix, wait for x seconds and then ...
1
vote
0
answers
929
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 ...
6
votes
2
answers
3k
views
Disabling the 3D Touch Task Switcher Gesture on the Left Edge of the Screen
If you press firmly on the left edge of the screen using an iPhone with 3D touch you will bring up the task switcher.
I'd like to know how I can disable this behavior in my app.
2
votes
2
answers
117
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
110
views
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+...
0
votes
1
answer
121
views
Bring TaskSwitcher Window to Foreground - possible?
DWORD myThreadId = GetCurrentThreadId();
HWND hwnd_TaskSwitcher = FindWindow("TaskSwitcherWnd", "Task Switching");
AttachThreadInput(myThreadId, GetWindowThreadProcessId(hwnd_TaskSwitcher, NULL), 1);
...
1
vote
1
answer
241
views
VisualStudio debugging required for window switching
A bit of background on what I am making first. It is a C# based launcher program which allows easy switching between the main home theatre media players (in my case, Plex, MediaPortal and Kodi), so ...