Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4c277ef7513887fe3c335b087572cb30bd1aec9f
      
https://github.com/WebKit/WebKit/commit/4c277ef7513887fe3c335b087572cb30bd1aec9f
  Author: Yusuke Suzuki <[email protected]>
  Date:   2023-03-27 (Mon, 27 Mar 2023)

  Changed paths:
    M Source/JavaScriptCore/jsc.cpp

  Log Message:
  -----------
  [JSC] Use TerminateProcess for Windows
https://bugs.webkit.org/show_bug.cgi?id=254566
rdar://107296359

Reviewed by Mark Lam.

Forcefully terminate the process via TerminateProcess on Windows at the end of 
main function in JSC shell.
We are running concurrent collectors and normal exit procedure can cause dead 
lock on Windows since Windows
does not really have "main thread" concept: on the other platforms, when main 
thread dies, everything gets
shut down. But on Windows, it is not.

* Source/JavaScriptCore/jsc.cpp:
(JSC::jscExit):

Canonical link: https://commits.webkit.org/262193@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to