On Thu, 7 Jul 2022 08:03:52 GMT, David Holmes wrote:
> > I think that isn't true. If a hook doesn't terminate then VM.shutdown
> > doesn't get called, so the window never gets cracked opened to call halt
> > directly.
>
> @kimbarrett Any thread can call halt() directly while the attempted shut
On Tue, 5 Jul 2022 21:56:27 GMT, Kim Barrett wrote:
> I think that isn't true. If a hook doesn't terminate then VM.shutdown doesn't
> get called, so the window never gets cracked opened to call halt directly.
@kimbarrett Any thread can call halt() directly while the attempted shutdown
is in p
On Mon, 4 Jul 2022 12:09:46 GMT, David Holmes wrote:
>>> Is "deadlock" accurate?
>>
>> Yes.
>>
>> In the context of the specification, "shutdown hook" means _application_
>> shutdown hook - as far as the specification is concerned, application
>> shutdown hooks are the only kind of hooks. Rig
On Mon, 4 Jul 2022 12:19:27 GMT, David Holmes wrote:
>> Ryan Ernst has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> better clarify multiple threads behavior
>
>> Let's say we've run shutdown so run all the hooks but not halted. Then
>> s
On Mon, 4 Jul 2022 12:19:27 GMT, David Holmes wrote:
> > Let's say we've run shutdown so run all the hooks but not halted. Then
> > someone calls exit(0). That seems to suggest the call will block
> > indefinitely, which is neither desirable nor what was actually implemented.
>
> If the hook t
On Mon, 4 Jul 2022 12:19:27 GMT, David Holmes wrote:
>> Ryan Ernst has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> better clarify multiple threads behavior
>
>> Let's say we've run shutdown so run all the hooks but not halted. Then
>> s