winex11.drv: implement X session management (try 2)

Alexandre Julliard julliard at winehq.org
Mon Aug 2 08:59:17 CDT 2010


Damjan Jovanovic <damjan.jov at gmail.com> writes:

> +static void SM_Init(void)
> +{
> +    CreateThread(NULL, 0, manage_session, NULL, 0, NULL);
> +}
> +#endif /* defined(SONAME_LIBSM) */

You don't want to create a new thread in every process for this. It will
cause lots of trouble.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list