Re: PATCH: implemented Fiber APIs

2002-12-17 Thread Alberto Massari
At 02.02 17/12/2002 -0500, Dimitrie O. Paun wrote: On December 16, 2002 02:37 pm, Alberto Massari wrote: +void WINAPI SwitchToFiber(LPVOID lpFiber) +{ +#ifdef HAVE_UCONTEXT_H +PHFIBER pFiber,pCurrentFiber; +pFiber=(PHFIBER)lpFiber; +

Re: PATCH: implemented Fiber APIs

2002-12-17 Thread Dimitrie O. Paun
On December 17, 2002 04:59 am, Alberto Massari wrote: It's just a matter of deciding what is best from a maintenance point of view: grouping the working code or grouping the functions. I would say grouping the working code is preferable (second patch you sent) as the ugliness does not interfere

Re: PATCH: implemented Fiber APIs

2002-12-17 Thread Alexandre Julliard
Alberto Massari [EMAIL PROTECTED] writes: It's just a matter of deciding what is best from a maintenance point of view: grouping the working code or grouping the functions. There are valid arguments in favour of both styles, and I have no strong feelings, so I will submit the new patch

Re: PATCH: implemented Fiber APIs

2002-12-16 Thread Dimitrie O. Paun
On December 16, 2002 02:37 pm, Alberto Massari wrote: +void WINAPI SwitchToFiber(LPVOID lpFiber) +{ +#ifdef HAVE_UCONTEXT_H +PHFIBER pFiber,pCurrentFiber; +pFiber=(PHFIBER)lpFiber; +pCurrentFiber=(PHFIBER)TlsGetValue(fiber_tls_index); +TRACE(Switching from %p to