[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: wine not exitting after console app completion
From:       "John W. DeBoskey" <jwd () unx ! sas ! com>
Date:       1999-04-29 4:24:41
[Download RAW message or body]

Hi,

   If you could point me in the right direction, I'll be more
than happy to work on this.

   From looking at thread.c I'm not sure how to run the thread
chain associated with the current (16-bit) task.

Thanks,
John

> 
> Marcus Meissner <marcus@jet.franken.de> wrote:
> 
> > USER_ExitWindows() should not call exit(0), but ExitProcess().
> > Could you try replacing the call?
> 
> No, that would probably lead to endless recursion!  ExitProcess()
> for 16-bit tasks calls TASK_KillCurrentTask, which calls
> USER_ExitWindows if the current task is the last one ...
> 
> The problem is that ExitProcess() for 16-bit tasks *should* also
> terminate *threads* created by that task first; this doesn't work
> correctly currently.
> 
> Bye,
> Ulrich
> 


=========================================================================

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic