Skip to main content

Questions tagged [task-switching]

The tag has no usage guidance.

task-switching
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 ...
max's user avatar
  • 1
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 ...
smwikipedia's user avatar
  • 63.4k
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 ...
Alsaraha's user avatar
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 ...
David's user avatar
  • 527
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 ...
prepbgg's user avatar
  • 3,642
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 ...
Adi Grecu's user avatar
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 ...
Adrian Scott's user avatar
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 ...
Keith Ape's user avatar
  • 1,163
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 ...
Benjamin Larsen's user avatar
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 ...
Jeyahariprakash's user avatar
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.
llama591's user avatar
  • 463
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; ...
Kevin DiTraglia's user avatar
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+...
MEM's user avatar
  • 31.1k
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); ...
Ankur's user avatar
  • 149
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 ...
user3550959's user avatar

15 30 50 per page