mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-14 18:44:56 +01:00
07bf5dbacc
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. |
||
---|---|---|
.. | ||
cef_app_win.h | ||
cef_export.h | ||
cef_linux.h | ||
cef_logging_internal.h | ||
cef_mac.h | ||
cef_ptr.h | ||
cef_string_list.h | ||
cef_string_map.h | ||
cef_string_multimap.h | ||
cef_string_types.h | ||
cef_string_wrappers.h | ||
cef_string.h | ||
cef_thread_internal.h | ||
cef_time_wrappers.h | ||
cef_time.h | ||
cef_trace_event_internal.h | ||
cef_types_geometry.h | ||
cef_types_linux.h | ||
cef_types_mac.h | ||
cef_types_win.h | ||
cef_types_wrappers.h | ||
cef_types.h | ||
cef_win.h |