[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: w32.c: TODO select implementation?

From: Jason Rumney
Subject: Re: w32.c: TODO select implementation?
Date: Mon, 21 Jun 2004 13:14:33 +0100
User-agent: Mozilla Thunderbird 0.7 (Windows/20040616)

Dhruva Krishnamurthy wrote:

This is specific to the windows port of GNU Emacs implementation. In the
file "emacs/src/w32.c", it has been mentioned that implementation of
select() in TODO (for sockets and pipes).
I was just learning some windows sockets programming and found imporved
performance in using select(). Are there any known side-effects in
migrating GNU Emacs to use "select()" which is preventing the
implementation change?
The Windows port of Emacs already has its own implementation of select, to handle selecting between file handles (mainly for asynchronous process support). So it is not as simple as "use select()", since the native WIndows select() only works with sockets. The existing Emacs implementation of select() needs to be modified to work with sockets too.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]