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-10-20 12:49:43 -04:00
2022-10-14 14:10:30 -04:00
2022-09-29 13:09:35 -04:00
2022-10-14 14:10:30 -04:00
2022-01-24 12:58:04 -05:00
2022-09-29 13:09:35 -04:00
2022-09-29 13:09:35 -04:00
2022-08-25 14:09:20 -04:00
2022-09-29 13:09:35 -04:00
2022-09-29 13:09:35 -04:00
2022-10-18 17:58:41 -04:00
2022-10-14 14:10:30 -04:00
2022-08-04 12:37:12 -04:00
2022-10-14 13:55:07 -04:00
2022-09-29 13:09:35 -04:00
2021-07-27 19:03:09 -04:00
2022-02-22 19:22:39 -05:00
2021-12-07 15:02:28 -05:00
2022-08-25 18:23:33 -04:00
2022-08-25 18:23:33 -04:00
2022-08-25 14:09:20 -04:00
2018-02-02 17:44:08 -05:00
2022-09-29 13:09:35 -04:00
2021-12-07 15:02:28 -05:00
2022-08-25 18:23:33 -04:00
2022-08-25 18:23:33 -04:00
2022-10-14 14:10:30 -04:00
2022-10-14 14:10:30 -04:00
2022-04-12 12:06:53 -04:00
2022-09-29 13:09:35 -04:00
2021-12-07 15:02:28 -05:00
2022-09-29 13:09:35 -04:00
2021-12-07 15:02:28 -05:00
2022-08-25 14:09:20 -04:00
2021-12-07 15:02:28 -05:00
2022-03-30 19:54:09 -04:00
2020-06-29 16:17:13 -04:00
2022-04-12 12:06:53 -04:00
2022-10-14 14:10:30 -04:00
2022-10-14 14:10:30 -04:00
2021-07-19 15:52:36 +00:00
2017-05-18 12:30:05 +02:00
2022-08-09 15:43:00 -04:00
2022-08-09 15:43:00 -04:00
2022-01-24 12:58:04 -05:00
2021-04-23 11:38:51 -04:00
2021-12-07 15:02:28 -05:00
2022-10-21 14:52:50 -04:00
2020-09-22 17:36:06 -04:00
2022-07-19 10:09:35 -04:00
2022-07-19 10:09:35 -04:00
2022-07-22 13:31:29 -04:00
2022-02-22 19:22:39 -05:00
2022-08-25 14:09:20 -04:00
2021-12-07 15:02:28 -05:00
2022-07-22 13:31:29 -04:00
2022-04-19 18:52:26 -04:00
2022-10-18 17:58:41 -04:00
2022-04-19 18:52:26 -04:00
2022-08-25 18:23:33 -04:00
2022-08-25 18:23:33 -04:00
2022-01-24 12:58:04 -05:00
2022-03-30 19:54:09 -04:00
2021-12-07 15:02:28 -05:00
2021-08-19 19:41:44 -04:00
2021-12-07 15:02:28 -05:00
2022-06-03 22:45:23 +03:00
2022-06-03 22:45:23 +03:00
2022-06-03 22:45:23 +03:00
2022-07-22 13:31:29 -04:00
2021-12-18 15:57:34 -05:00
2022-07-08 07:40:35 +00:00
2022-07-08 07:40:35 +00:00
2020-01-15 14:49:22 +01:00
2019-09-04 15:13:32 +00:00
2022-06-30 12:22:28 +00:00
2022-06-30 12:22:28 +00:00
2022-05-20 14:15:17 +03:00
2021-12-07 15:02:28 -05:00
2022-07-25 23:47:56 -04:00
2022-07-25 23:47:56 -04:00
2021-12-07 15:02:28 -05:00
2022-07-19 10:09:35 -04:00
2022-07-19 10:09:35 -04:00
2021-12-07 15:02:28 -05:00
2021-06-10 16:42:44 -04:00
2022-01-24 12:58:04 -05:00
2022-10-18 17:58:41 -04:00
2022-07-07 10:01:24 +00:00
2021-05-18 21:59:48 -04:00
2022-02-22 19:22:39 -05:00
2020-07-16 19:11:12 -04:00
2021-08-19 19:41:44 -04:00
2021-12-07 15:02:28 -05:00
2022-10-18 17:58:41 -04:00
2022-08-25 14:09:20 -04:00
2017-05-18 12:30:05 +02:00
2022-06-27 10:29:16 +00:00
2022-06-27 10:29:16 +00:00
2022-06-27 10:29:16 +00:00
2022-09-29 13:09:35 -04:00
2021-12-07 15:02:28 -05:00
2022-07-25 23:47:56 -04:00
2022-07-25 23:47:56 -04:00
2022-05-20 19:39:32 +03:00
2022-02-22 19:22:39 -05:00
2022-08-25 14:09:20 -04:00
2022-08-25 14:09:20 -04:00
2019-10-01 13:55:16 +00:00
2021-12-07 15:02:28 -05:00
2016-10-27 14:04:48 -04:00
2021-12-07 15:02:28 -05:00
2022-01-24 12:58:04 -05:00
2017-05-18 12:30:05 +02:00
2022-05-20 19:39:32 +03:00
2017-05-18 12:30:05 +02:00
2022-03-23 17:31:09 -04:00
2016-05-25 08:10:01 -07:00
2017-05-18 12:30:05 +02:00
2021-12-07 15:02:28 -05:00
2022-07-19 10:09:35 -04:00
2022-07-19 10:09:35 -04:00
2021-02-08 14:15:38 -05:00
2017-05-18 12:30:05 +02:00
2022-07-19 10:09:35 -04:00
2022-07-19 10:09:35 -04:00