Marshall Greenblatt
07bf5dbacc
windows: Configure stack size for executables (fixes issue #3250 )
...
Change the default stack size to 8 MiB for 64-bit and 0.5 MiB for 32-bit.
CEF's main thread needs at least a 1.5 MiB stack size in order to avoid
stack overflow crashes. However, if this is set in the PE file then other
threads get this size as well, leading to address-space exhaustion in 32-bit
CEF. A new CefRunWinMainWithPreferredStackSize function uses fibers to switch
the main thread to a 4 MiB stack (roughly the same effective size as the
64-bit build's 8 MiB stack) before running any other code.
This change additionally moves the existing Windows-only functions
CefSetOSModalLoop and CefEnableHighDPISupport from cef_app.h to cef_win.h.
2022-10-21 14:52:50 -04:00
..
2022-09-01 17:14:30 -04:00
2022-10-14 13:55:07 -04:00
2022-09-01 17:14:30 -04:00
2022-10-21 14:52:50 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2018-08-10 11:31:08 -04:00
2022-09-05 14:10:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-06-30 07:31:18 +00:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-10-03 17:46:50 +00:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-10-11 14:55:12 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00
2022-09-01 17:14:30 -04:00