CVSROOT: /cvsroot/hurd
Module name: hurd
Branch: ams-branch
Changes by: Alfred M. Szmidt <[EMAIL PROTECTED]> 06/01/07 18:21:07
Modified files:
pflocal : socket.c io.c connq.h connq.c ChangeLog
Log message:
2006-01-07 Neal H. Walfield <[EMAIL PROTECTED]>
* connq.c (struct connq): Changed type of HEAD to `struct
connq_request *'. Changed type of TAIL to `struct connq_request
**'. Removed members NOQUEUE, QUEUE, and LENGTH. Added members
COUNT, MAX, CONNECTORS, NUM_CONNECTORS.
(qnext): Function removed.
(struct connq_request): Removed members SIGNAL, LOCK, COMPLETED
and ERR. Added member NEXT.
(connq_request_enqueue, connq_request_dequeue): New functions.
(connq_connect_complete, connq_connect_cancel): Likewise.
(connq_request_init, connq_create, connq_destroy): Updated to new
semantics.
(connq_connect): Rewrite so that we don't block until there is an
acceptor, but until there is space for a request. Removed SOCK
parameter. Updated all references accordingly.
(connq_listen): Rewrite so that we don't block until there is a
connector, but until there is a request in the queue. Removed REQ
parameter. Updated all references accordingly.
(connq_set_length): Rewrite.
(connq_compress) [0]: Function removed.
(connq_request_complete): Likewise.
* connq.h (struct connq_request): Forward declaration removed.
(connq_request_complete): Declaration removed.
(connq_connect_complete, connq_connect_cancel): New declarations.
* socket.c (S_socket_connect): Create the server socket here ...
(S_socket_accept): ... not here.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/hurd/hurd/pflocal/socket.c.diff?only_with_tag=ams-branch&tr1=1.22&tr2=1.22.2.1&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/hurd/hurd/pflocal/io.c.diff?only_with_tag=ams-branch&tr1=1.39&tr2=1.39.2.1&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/hurd/hurd/pflocal/connq.h.diff?only_with_tag=ams-branch&tr1=1.6&tr2=1.6.2.1&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/hurd/hurd/pflocal/connq.c.diff?only_with_tag=ams-branch&tr1=1.15&tr2=1.15.2.1&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/hurd/hurd/pflocal/ChangeLog.diff?only_with_tag=ams-branch&tr1=1.26&tr2=1.26.2.1&r1=text&r2=text
_______________________________________________
Commit-hurd mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-hurd