On Wed, May 17, 2000 at 10:25:02PM +0200, Lionel Ulmer wrote:
> As for thread safety, for most of OpenGL apps that people will use
> with Wine (i.e. games :-) ), there should be no need to have it... So
> having a non-thread safe but fast solution that could be compiled in
> at configure time could be nice (and as I can detect easily when an
> app is doing multi-threaded OpenGL calls, I can even warn the user by
> a ERR that he should recompile Wine).

Hmm ??
What about a simple
if (we_want_thread_safety_NOW)
        EnterCriticalSection(...);
.
.
.
if (we_want_thread_safety_NOW)
        LeaveCriticalSection(...);

and wine.conf parameter ?

Or does this burn still too many CPU cycles ?

Andreas Mohr

Reply via email to