Hacker News new | past | comments | ask | show | jobs | submit login

> linux applications are not written to be pre-emptable.

I think I don't understand the way you're using this word.

Are you talking about wake-locks? Linux has opportunistic sleep/suspend and mechanisms for controlling that.




Closest I can explain is mobile applications have to be written to understand "pause" and "resume", and the application is running from "resume" to "pause".

Your typical linux application does not. It expects to be "started" and "stopped", and running the whole time in-between.


Linux processes can understand that already: SIGTSTP/SIGSTOP, and SIGCONT. There are many signals a Linux process can respond to.


I'm sure some adjustments will be necessary, but I'd actually like to fully stop mobile apps, desktop style, quite often.


Oh that, no. That should die with android, it's horribly difficult to understand and unhelpful.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: