| View previous topic :: View next topic |
| Author |
Message |
Sharkus
Joined: 19 Jun 2005 Posts: 27
|
Posted: Sun Oct 29, 2006 2:17 pm Post subject: "Standardized" Standby Support In C Libraries... |
|
|
It seems that a lot of homebrew software does not properly handle resuming from standby mode. It is my understanding that this is caused by the kernel closing all open file handles, and not opening them during the resume operation.
I know there is a sample application that shows how to install the standby/resume callback. However, it seems like the best place to save and restore the state of all of the open files would be in the standard c library.
Special routines in the c library would then be called from the standby/resume callback to save/restore the state of the open file handles...
Of course if an application made a direct call to sceIoOpen() it would be on it's own...
Does this approach make sense or is there a more elegant solution?
-Sharkus
P.S. Anyone know the difference between Standby and Suspend modes?
[/code] |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Mon Oct 30, 2006 6:28 pm Post subject: |
|
|
| Yeah, having that in the C library could be useful. If you come up with patches to do it without much cpu & ram overhead we'll certainly consider adding them. |
|
| Back to top |
|
 |
|