Wine threads and TRY/CATCH macros and DCE threads and TRY/CATCH macros
Luke Kenneth Casson Leighton
lkcl at lkcl.net
Thu Jan 20 11:46:23 CST 2005
On Thu, Jan 20, 2005 at 08:49:27AM -0800, Juan Lang wrote:
> Hi Luke, I don't know is this is useful, but the TRY/CATCH stuff in
> particular is declared here:
> http://source.winehq.org/source/include/wine/exception.h
> and the Wine exception handling code is implemented here:
> http://source.winehq.org/source/dlls/ntdll/exception.c
>
> As Mike said, the Wine threading stuff is pretty complicated. Native
> applications unfortunately rely on things being exactly in the right place
> in the TEB, and DCE threads are unlikely to give us this. Peruse if you
> like
> http://source.winehq.org/source/include/thread.h
> and
> http://source.winehq.org/source/dlls/ntdll/thread.c
well if the stuff is "exact" and cannot be changed, then
at least it may be possible to go the other way round - port
dcethreads to run on wine instead.
l.
More information about the wine-devel
mailing list