[ros-dev] [ros-diffs] [dchapyshev] 42012: - Samplify SwitchToThread and QueueUserWorkItem - Remove unneeded InternalWorkItemTrampoline function and QUEUE_USER_WORKITEM_CONTEXT structure - Other small changes

Dmitry Chapyshev lentind at yandex.ru
Fri Jul 17 22:48:02 CEST 2009


On Fri, 17 Jul 2009 23:03:18 +0400, Thomas Bluemel <thomas at reactsoft.com>  
wrote:

> This explains why we are using a trampoline function and not just
> typecast there...  Is there a reason you changed this?
>
> - Thomas
>
> dchapyshev at svn.reactos.org wrote:
>> -    /* NOTE: Don't use Function directly since the callback signature
>> -             differs. This might cause problems on certain  
>> platforms... */
>> -    Status = RtlQueueWorkItem(InternalWorkItemTrampoline,
>> -                              WorkItemContext,
> _______________________________________________
> Ros-dev mailing list
> Ros-dev at reactos.org
> http://www.reactos.org/mailman/listinfo/ros-dev



Wine and Windows do so. Why we should do in another way? Other reasons are  
necessary?

-- 
WBR,
Dmitry Chapyshev


More information about the Ros-dev mailing list