Originally posted by treba
View Post
Announcement
Collapse
No announcement yet.
Samsung Proposes Session Management Protocol For Wayland
Collapse
X
-
Originally posted by oiaohm View PostThis is a useful feature on embedded devices the ability to freeze application to disc and throw it out of ram and restore it latter. This opens up some very interesting power management options and the ways to free up cpu time for heavy tasks without having to restart applications from scratch afterwards.
Comment
-
Originally posted by msotirov View Post
I don't know the specifics of how Enlightenment does it but having the client know details about the compositor sounds wrong to me from an architecture standpoint. That's like a web page asking the browser about it's index in the tab list. Abstractions shouldn't depend on details and the fact that an application is rendered in a Wayland window is a detail.
it's just a simple "tag resources with UUIDs that can last across execution sessions". this happens to also allow sessions to recover if the client exits or crashes too... if the client can store state and rebuild... it can get its windows into the same state they were before thanks to the same compositor-side recovery logic.
this also helps you do things like suspend processes to disk entirely (like hibernate images per process - the kernel supports this feature) and then unhibernate them. the problem is CONNECTIONS to other services like the display or any daemon have to be re-connected because these sockets have to die as the compositor may restart or the whole os even reboot in between. so you need reconnect logic... and the above session recovery stuff can then solve this problem too. just pretend the compositor crashed from the application's side of things.
- Likes 1
Comment
-
Originally posted by TheBlackCat View Post
Something as complex as a display server is going to crash at times.
Comment
Comment