diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-09-09 15:14:38 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-09-09 15:14:38 +0200 |
commit | 3bc7c84cf07eae90aee2a0972a4441652e4d38f6 (patch) | |
tree | cc7bd4cf3fde2bd021e499e75cbbe8569781a6dd /udev/lib/libudev-private.h | |
parent | bd770e018301edd34c53d276872865ca13e824fa (diff) |
udevd: remove max_childs_running logic
This was needed in the old days, where all the hotplug scripts did
nothing better than sleep for seconds to work around timing issues.
It made sure, that w continued to fork processes, while the machine
was doing nothing than sleeping, but the maximim number of childs
was already reached. This is no longer needed today, we do not run
many of these scripts anymore.
Diffstat (limited to 'udev/lib/libudev-private.h')
-rw-r--r-- | udev/lib/libudev-private.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/udev/lib/libudev-private.h b/udev/lib/libudev-private.h index d626fe65ee..53a58cc619 100644 --- a/udev/lib/libudev-private.h +++ b/udev/lib/libudev-private.h @@ -85,7 +85,6 @@ extern int udev_ctrl_send_start_exec_queue(struct udev_ctrl *uctrl); extern int udev_ctrl_send_reload_rules(struct udev_ctrl *uctrl); extern int udev_ctrl_send_set_env(struct udev_ctrl *uctrl, const char *key); extern int udev_ctrl_send_set_max_childs(struct udev_ctrl *uctrl, int count); -extern int udev_ctrl_send_set_max_childs_running(struct udev_ctrl *uctrl, int count); struct udev_ctrl_msg; extern struct udev_ctrl_msg *udev_ctrl_msg(struct udev_ctrl *uctrl); extern struct udev_ctrl_msg *udev_ctrl_receive_msg(struct udev_ctrl *uctrl); @@ -97,7 +96,6 @@ extern int udev_ctrl_get_start_exec_queue(struct udev_ctrl_msg *ctrl_msg); extern int udev_ctrl_get_reload_rules(struct udev_ctrl_msg *ctrl_msg); extern const char *udev_ctrl_get_set_env(struct udev_ctrl_msg *ctrl_msg); extern int udev_ctrl_get_set_max_childs(struct udev_ctrl_msg *ctrl_msg); -extern int udev_ctrl_get_set_max_childs_running(struct udev_ctrl_msg *ctrl_msg); /* libudev-utils */ extern ssize_t util_get_sys_subsystem(struct udev *udev, const char *devpath, char *subsystem, size_t size); |