[wx-dev] wxThread, thread local storage and wxLog
Armel Asselin
asselin.armel at wanadoo.fr
Fri Aug 11 06:46:54 PDT 2006
> AA> ok so in the different thread.cpp i add a
> AA> wxThreadSpecificData<wxPerThreadData>::Set ((void*)0) to free the data
>
> Yes, that's the idea. But hopefully passing "void *" to a function taking
> "wxPerThreadData *" isn't going to work :-)
oops ;-)
> AA> for wxPerThreadData struct, do you have a preference for the header
> name?
> AA> wx/tlspriv.h ?
>
> Why not just wx/threaddata.h?
say wx/thrddata.h to respect the 8.3 names, if i remember well mingwin users
need it?
Armel
More information about the wx-dev
mailing list