add epoll implementation to libwine_port (take 3)

Chris Dodd cdodd at acm.org
Tue Oct 19 12:49:11 CDT 2004


Mike McCormack <mike at codeweavers.com> wrote in 
news:4174D681.9050503 at codeweavers.com: 

> A few more changes after consulting with Alexandre.
> 
> ChangeLog:
> * add epoll implementation to libwine_port
	:
> +    __asm__ __volatile__( "pushl %%ebx; movl %2,%%ebx; int $0x80; popl
> %%ebx" +                          : "=a" (ret) : "0"
	:

A random question here from someone who is not too familiar with wine
internals -- why are you using inline asm code instead of syscall(2)?
It seems like syscall would be both simpler and more portable.

Chris Dodd
cdodd at acm.org



More information about the wine-devel mailing list