delay device publishing by 1 second, for better testing of possible input server race condition

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20959 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Marcus Overhagen
2007-05-01 23:03:40 +00:00
parent 512d703b90
commit 96575d053e
@@ -104,6 +104,7 @@ ps2_service_thread(void *arg)
packet_buffer_read(sServiceCmdBuffer, (uint8 *)&cmd, sizeof(cmd));
switch (cmd.id) {
case PS2_SERVICE_NOTIFY_DEVICE_ADDED:
snooze(1000000); // for better testing of possible input server race condition
TRACE("ps2: PS2_SERVICE_NOTIFY_DEVICE_ADDED %s\n", cmd.dev->name);
ps2_dev_publish(cmd.dev);
break;