[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] the great next stuff branch, dde, updated. fda12166d746408b2abd8d6
From: |
Zheng Da |
Subject: |
[SCM] the great next stuff branch, dde, updated. fda12166d746408b2abd8d63371b40397221e0aa |
Date: |
Wed, 04 Aug 2010 14:43:24 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "the great next stuff".
The branch, dde has been updated
via fda12166d746408b2abd8d63371b40397221e0aa (commit)
via 3bb9c6f15049996cb79bd756402ed14a1729e681 (commit)
via 1ff82bdcbf782fc5d16d53e2d965e48074e9c2de (commit)
via 2ba9f0c6c6901dd4fc2b90bf28b07e3f6fc3d253 (commit)
via 5e71dc6f19c7a04853e2993afe0947eaab8632ef (commit)
from 77e253b230e6203f60e04a75a77cba7c75892e2c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit fda12166d746408b2abd8d63371b40397221e0aa
Author: Zheng Da <address@hidden>
Date: Wed Aug 4 09:21:22 2010 +0200
not print errors if fails to deliver packages.
commit 3bb9c6f15049996cb79bd756402ed14a1729e681
Author: Carl Fredrik Hammar <address@hidden>
Date: Fri Apr 9 16:16:22 2010 +0200
Implement settrans --interactive
Hello,
this patch adds a new option to settrans: --interactive. The main use
case is to be able to start a translator under gdb like so:
settrans -i /tmp/foo gdb /hurd/hello
This is extremely useful if the translator crashes before the startup
handshake, but also just plain more convenient than using --pause.
Basically, all this feature does is start a regular command using a
regular fork and exec, with the tiny exception of making it inherit a
bootstrap port so that it can attach a translator to the specified node
(/tmp/foo in the example). Because it is started regularly it will be
given stdin and stdout, and any other stuff that is normally inherited.
Looking closer at the implementation, you'll see that I service the
startup request in a separate thread. This is mainly so it will work
while I use wait() to see when the child process exits. The alternative
was to wait for a no-senders notification, but this doesn't seem robust.
As an extra, the service thread can even handle any number of requests,
which is useful if you want to restart the translator during your
debugging session.
Regards,
Fredrik
* utils/settrans.c (options): Add `--interactive'.
(settrans_fn_t): New typedef.
(start_interactive_translator_service)
(fork_interactive_translator)
(exec_interactive_translator): New functions.
(main): Implement new `--interactive' option.
commit 1ff82bdcbf782fc5d16d53e2d965e48074e9c2de
Author: Carl Fredrik Hammar <address@hidden>
Date: Fri Apr 9 16:15:36 2010 +0200
Externalize libfshelp's service_fsys_startup
Hello,
This patch prepares libfshelp's function service_fsys_startup for use
elsewhere. It just moves the function to its own file and prefixes
its name with fshelp_. I also took the liberty of moving its one out
parameter to the end of the parameter list, and pruning out headers
which are no longer needed.
Regards,
Fredrik
* libfshelp/start-translator-long.c (service_fsys_startup):
Rename and move to...
* libfshelp/service-fsys-startup.c (fshelp_service_fsys_startup):
...this new file. Move `control' parameter to end.
* libfshelp/start-translator-long.c (fshelp_start_translator_long):
Update calls to `service_fsys_startup'.
* libfshelp/start-translator-long.c: Prune included headers.
* libfshelp/Makefile (SRCS): Add `service-fsys-startup.c'.
commit 2ba9f0c6c6901dd4fc2b90bf28b07e3f6fc3d253
Author: Zheng Da <address@hidden>
Date: Mon Aug 2 03:58:15 2010 +0200
implement netfs_append_args in eth-multiplexer.
commit 5e71dc6f19c7a04853e2993afe0947eaab8632ef
Author: Zheng Da <address@hidden>
Date: Mon Aug 2 03:57:50 2010 +0200
Use BPF filter in eth-multiplexer.
-----------------------------------------------------------------------
Summary of changes:
eth-multiplexer/ethernet.c | 17 +--
eth-multiplexer/multiplexer.c | 17 +++
libfshelp/Makefile | 1 +
libfshelp/fshelp.h | 10 ++
libfshelp/service-fsys-startup.c | 178 +++++++++++++++++++++++++
libfshelp/start-translator-long.c | 169 +-----------------------
libmachdev/net.c | 1 -
utils/settrans.c | 266 ++++++++++++++++++++++++++++++++++++-
8 files changed, 480 insertions(+), 179 deletions(-)
create mode 100644 libfshelp/service-fsys-startup.c
hooks/post-receive
--
the great next stuff
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] the great next stuff branch, dde, updated. fda12166d746408b2abd8d63371b40397221e0aa,
Zheng Da <=