summaryrefslogtreecommitdiff
path: root/udevd.h
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-10-19 04:37:30 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 22:06:44 -0700
commit5cab7caa2a767b16211c15f0051a2e21a96ebfd9 (patch)
tree7caf9217d9dddf8066f49c4a9795e4df6ea12e4f /udevd.h
parentab51035617d5725305b8ef98eff6b7c64f3ccec6 (diff)
[PATCH] cleanup udevd/udevstart
Change to the same timeout loop we use in the rest of the code. Change some comments and names to be more descriptive. I'm mostly finished with the overall cleanup. I will post a new patch for the udevd-nofork experiment, which will be much smaller now.
Diffstat (limited to 'udevd.h')
-rw-r--r--udevd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/udevd.h b/udevd.h
index 9be581d420..657f684e3f 100644
--- a/udevd.h
+++ b/udevd.h
@@ -26,8 +26,10 @@
#define UDEV_MAGIC "udevd_" UDEV_VERSION
#define EVENT_TIMEOUT_SEC 10
-#define UDEVSEND_CONNECT_RETRY 20 /* x 100 millisec */
#define UDEVD_SOCK_PATH "udevd"
+#define SEND_WAIT_MAX_SECONDS 3
+#define SEND_WAIT_LOOP_PER_SECOND 10
+
struct hotplug_msg {
char magic[20];