multitasking Questions

9

Solved

I read that Linux kernel is preemptive, which is different from most Unix kernels. So, what does it really mean for a kernal to be preemptive? Some analogies or examples would be better than pure ...
Trelliswork asked 12/3, 2011 at 15:42

5

Solved

I'm working on an universal app with all orientations on iPad and only portrait on iPhone. The app works well with split-screen multitasking on iOS 9 compatible iPad, but I have this warning: All ...
Enfleurage asked 11/5, 2016 at 16:55

3

I would like to find a way to see what app is running in foreground or if the home screen is displayed when a local notification from my app show up. For example i want to have different actions if...
Selfrenunciation asked 27/12, 2011 at 10:27

2

Solved

I'm trying to interface a pressure sensor (MS5803-14BA) with my board (NUCLEO-STM32L073RZ). According to the datasheet (page 3), the pressure sensor requires some milliseconds before the measureme...
Mcilwain asked 25/4, 2018 at 18:11

3

Solved

So I want to support app switching in my upcoming iPhone app and I've implemented all the proper delegate methods in my application delegate. So when the user resumes the application, I can see the...
Ulland asked 21/8, 2010 at 1:42

5

Solved

I'm working on an adopting multitasking to support split view for app, but I find the traitCollectionDidChange not called when app is on the right. Does anyone have idea about this?
Elinoreeliot asked 7/12, 2015 at 7:21

1

Solved

I'm wondering if it's possible to implement preemptive multitasking of native code within a single process in user space on Linux. (That is, externally pause some running native code, save the cont...
Kenakenaf asked 6/1, 2018 at 0:42

1

I've been reading a lot about how parallelism is different than concurrency, but I'm having a lot of questions like how can I achieve a parallelism with a programming language like Java? What I un...

24

Solved

Whats the difference between multitasking, multiprogramming & multiprocessing This comes regularly for my university OS exams and I can't find a good answer. I know quite a bit about mul...

3

So my app relies on an internet connection and every time the app is opened from the home screen it checks using Reachability and then allows the user to continue or tells them to get connected. My...
Pervasive asked 4/6, 2015 at 14:44

4

As I just learned, Android reserves the right to kill a background application's process at any moment in order to recycle RAM. The application is still running and can be resumed nevertheless, but...
Mispronounce asked 3/1, 2012 at 10:12

6

Solved

Designing a generative music system for iOS, using OpenFrameworks, I'd need to provide a mode in which the user could listen the music produced by the application when: the device is locked the u...
Personify asked 3/5, 2012 at 10:6

4

How can I check if thread has finished work in C++11 and above? I have been reading the documentation and I have written the following code: #include <iostream> #include <thread> void ...
Eimile asked 23/2, 2017 at 14:20

3

Solved

Starting with iOS 7, Apple's Multitasking APIs allow apps to run in three new Background Modes: Background fetch, Remote notification content, and Background transfer service. Apple also gives iOS ...
Intelsat asked 29/8, 2013 at 20:55

3

Solved

The problem is this - My app lets you passcode protect itself. I use an interface just like passcode protecting the phone. This has always worked fine, until multi-tasking came along. The passcod...
Crust asked 4/6, 2011 at 6:14

2

Anyone knows how to hide the content of your app when the user goes in the Current Apps Manager? Like this is link is explaining for ios : http://pinkstone.co.uk/how-to-control-the-preview-screensh...
Grandfatherly asked 15/11, 2016 at 22:9

1

Solved

I have a list of running tasks with the same CancellationTokenSource. I want the current thread to wait until all the tasks complete or until the tasks were cancelled. Task.WaitAll(tasks.To...
Egidius asked 14/11, 2016 at 18:48

2

Solved

I'm currently learning Assembly and I'm confused how the CPU registers work with Multitasking. So in a Multitasking System. CPU can pause the execution of a certain program at any time and run anot...
Amoeboid asked 25/6, 2016 at 3:44

4

Solved

I am looking for the correct way/structure to create a loop in a Thread/Task... The reason for this is, i need to check the DB every 15sec for report requests. This is what i tried so far, but i ...
Vhf asked 19/9, 2011 at 13:49

3

Solved

Given a single core system that employs preemption for multitasking, how does the OS carry out thread interrupts when a user mode application is executing on the system? Since the processor is hand...

2

Solved

I was looking at the differences between user-level threads and kernel-level threads, which I basically understood. What's not clear to me is the point of implementing user-level threads at all. I...
Implode asked 2/1, 2016 at 18:38

1

I'm writing a research application that takes advantage of a specific sensor that broadcasts data over UDP. There are various commercial apps that use this sensor and we are hoping to be able to ru...
Sexagesimal asked 8/9, 2015 at 17:2

2

Solved

I'm new in multithreading, so the answer is probably very simple. I'm trying to make two instances of one class and run them parallel. I've read that I can use class inheritance to do that. clas...
Thoma asked 3/9, 2015 at 18:17

2

Solved

I'd like to make my app use the audio buttons on the lock screen while multitasking. (Yes, like Pandora.) What API am I looking to use?
Coherent asked 28/6, 2010 at 17:45

7

Solved

using ARC Just a problem I've run into- I have an SKScene in which I play a sound fx using SKAction class method [SKAction playSoundFileNamed:@"sound.wav" waitForCompletion:NO]; Now when...
Leucippus asked 24/9, 2013 at 8:44

© 2022 - 2024 — McMap. All rights reserved.