This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

daemon - functional on 95 and nt


I'm not submitting this for committing...

Just for you folk to have a play.

The list of things I want to do before I'll consider it finished
includes:

* trimming away some of the code I've left half-butchered.
* make the request structs and marshaling more OOP based
* reinstate the threading in the daemon.
* persistent connections between daemon and client, with the main loop
performing select() (for sockets) and WaitforMultipleObjects for pipes,
and then assigning the ready conns to a pool of threads. This will
reduce connection/disconnection overhead and thus improve performance.
* on the client side, run one connection per thread, (needed for thread
safe performance).

You're welcome to criticise and so forth, just bear in mind the above
list (and of course, say if you think that something up there is
inappropriate).

This still just does Egor's original tty handle changing, and as I don't
run CYGWIN=tty, I've never seen it happen :}.

Once I've done the above, I'll dig up my ipc implementation, and see how
it does at cross-process shm persistence :]

Rob

daemonstate.tar.gz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]