diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2004-10-19 04:37:30 -0700 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 22:06:44 -0700 |
commit | 5cab7caa2a767b16211c15f0051a2e21a96ebfd9 (patch) | |
tree | 7caf9217d9dddf8066f49c4a9795e4df6ea12e4f /udevd.h | |
parent | ab51035617d5725305b8ef98eff6b7c64f3ccec6 (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.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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]; |