Re: Glib 2.32.x, Win32 and threading



On Thu, Jul 5, 2012 at 4:30 PM, Chris Vine wrote:
> On Thu, 05 Jul 2012 18:45:25 +0200
> "Martin Schlemmer" <Martin Schlemmer nwu ac za> wrote:
>> Anyhow, I am now aware of the problem, but for sake of legacy code
>> that might still use gdk_threads_init(), should I file a bug with the
>> patch, or maybe to at least one to add a warning/abort in
>> gdk_threads_init() for Win32 so that others who run into this problem
>> will not be burnt?
>
> I am not sure.  On the one hand, the gdk global lock is not supported
> under Win32.  On the other hand, one would not expect your usage to
> cause a deadlock.  I think that is probably your call.

It may depend on which compiler, the compiler version and whose
distribution of that compiler is being used.  Are you using MSVC to
build or are you using GCC?  If the later it would help to know which
distribution?

-- 
Earnie
-- https://sites.google.com/site/earnieboyd


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]