diff options
Diffstat (limited to 'src/w32.c')
| -rw-r--r-- | src/w32.c | 7 |
1 files changed, 7 insertions, 0 deletions
| @@ -8702,6 +8702,13 @@ w32_delayed_load (Lisp_Object library_id) | |||
| 8702 | /* Possibly truncated */ | 8702 | /* Possibly truncated */ |
| 8703 | ? make_specified_string (name, -1, len, 1) | 8703 | ? make_specified_string (name, -1, len, 1) |
| 8704 | : Qnil); | 8704 | : Qnil); |
| 8705 | /* This prevents thread start and end notifications | ||
| 8706 | from being sent to the DLL, for every thread we | ||
| 8707 | start. We don't need those notifications because | ||
| 8708 | threads we create never use any of these DLLs, only | ||
| 8709 | the main thread uses them. This is supposed to | ||
| 8710 | speed up thread creation. */ | ||
| 8711 | DisableThreadLibraryCalls (dll_handle); | ||
| 8705 | break; | 8712 | break; |
| 8706 | } | 8713 | } |
| 8707 | } | 8714 | } |