Remember me

Lost Password?

Register now!
Who's Online
22 user(s) are online (7 user(s) are browsing Forums)

Members: 0
Guests: 22

Support us!
Recent OS4 Files
Report message:*

Re: Public screen closing bug in OS4.1

Subject: Re: Public screen closing bug in OS4.1
by whose on 2011/6/16 16:20:04

As thomas said, theres simply no need for a CloseScreen() patch. Just follow the development guidelines, and do some wait if CloseScreen() fails. If theres a broken program still holding a Lock on your public screen, there is actually nothing you (or the OS) can do against this, beside freeing as many resources as possible and place yourself into a Wait() loop.

Some time in the future there may be some other solution for closing public screens, involving messaging perhaps, which would help with crashed programs holding a Lock on a public screen. As soon as Exec/Dos killed the broken program (and freed its resources/locks), Intuition could send a Signal/Message to the process that opened the public screen, telling that its safe now to attempt another CloseScreen(). Something along this line...
Powered by XOOPS 2.0 © 2001-2014 The XOOPS Project