CreateRemoteThread and related stuff (patch)

Dmitry Timoshkov dmitry at baikal.ru
Fri Aug 27 03:56:23 CDT 2004


"Roger Olson" <u60 at comcast.net> wrote:

> I am wondering why delete the CreateThread()  code and refer all such
> requests
> to CreateRemoteThread()?  It would appear to me that retaining the
> CreateThread()
> code in addition to and compliant with the patch changes would be more
> expeditious
> for apps that do not need a call for Remote Operations.

Because if an optimization is needed regarding taking into account
current (local) process CreateRemoteThread can do it internally,
and of course avoiding code duplication. That's how for instance
VirtualAlloc is implemented via a call to VirtualAllocEx.

-- 
Dmitry.




More information about the wine-devel mailing list