[PATCH 1/5] shell32: Added SHCNRF_InterruptLevel flag support to SHChangeNotifyRegister
Alexandre Julliard
julliard at winehq.org
Tue Feb 1 06:34:55 CST 2011
Piotr Caban <piotr at codeweavers.com> writes:
> void InitChangeNotifications(void)
> {
> + watched_directories = 0;
> + interrupts_server_terminate = CreateEventW(NULL, FALSE, FALSE, NULL);
> + interrupts_server = CreateThread(NULL, 0, interrupts_server_thread, NULL, 0, NULL);
> }
This needs to be done on demand. You can't create a thread in every
process on the off chance that it would use interrupt notifications.
Probably you can use the thread pool for this.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list