Hi, Petr Koupý wrote: > First of all, location service currently supports just a single callback for > the > entire system and once it is registered it cannot be changed or unregistered. > That means when some process registers a callback, nobody else can use this > feature of location service.
since mainline,1367 multiple tasks can register for notifications from Location service. > Regarding the recent changes to input server, I also encountered very peculiar > race condition which is probably unrelated to the potential race condition > mentioned above. The callback cat_change_cb() inside input.c currently checks > both keyboard and mouse categories for new drivers. Therefore, both keyboard > and mouse driver should be either discovered together in the first callback > caused by any of them, or in two different callbacks. Apparently, it sometimes > happens that input server discovers keyboard driver but not the mouse driver > (which is although running and emitting events). I encountered it only on the > gui branch after merging mainline and not on the mainline itself Recently I encountered it a few times as well. It may have been exposed by my recent changes or by the move of the PS/2 mouse driver outside the input server. Cheers, Jiri _______________________________________________ HelenOS-devel mailing list [email protected] http://lists.modry.cz/cgi-bin/listinfo/helenos-devel
