On 2014-04-22 22:46, aandreje...@svn.reactos.org wrote:
> --- branches/ntvdm/subsystems/ntvdm/ntvdm.c   [iso-8859-1] (original)
> +++ branches/ntvdm/subsystems/ntvdm/ntvdm.c   [iso-8859-1] Tue Apr 22 
> 20:46:50 2014
> @@ -196,6 +197,11 @@
>              EmulatorInterrupt(0x23);
>              break;
>          }
> +        case CTRL_LAST_CLOSE_EVENT:
> +        {
> +            if (CommandThread) TerminateThread(CommandThread, 0);
> +            break;
> +        }
>          default:
>          {
>              /* Stop the VDM if the user logs out or closes the console */


Wasn't there an event to tell that thread to exit?
Using TerminateThread like this feels icky.

_______________________________________________
Ros-dev mailing list
Ros-dev@reactos.org
http://www.reactos.org/mailman/listinfo/ros-dev

Reply via email to