CVSROOT: /cvs Module name: src Changes by: n...@cvs.openbsd.org 2009/10/22 13:41:51
Modified files: usr.bin/tmux : Makefile buffer-poll.c server.c tmux.h Added files: usr.bin/tmux : server-client.c server-job.c server-window.c Removed files: usr.bin/tmux : server-msg.c Log message: Split the server code handling clients, jobs and windows off into separate files from server.c (merging server-msg.c into the client file) and rather than iterating over each set after poll(), allow a callback to be specified when the fd is added and just walk once over the returned pollfds calling each callback where needed. More to come, getting this in so it is tested.