Egbert Eich <e...@freedesktop.org> writes:

>  static CARD32
>  lnxACPICheckTimer(OsTimerPtr timer, CARD32 now, pointer arg)
>  {
> +    struct timeval timeval = { 0, 0 };
>      DebugF("ACPI: trying to reopen\n");
> -    if (doLnxACPIOpen()) {
> +    if (doLnxACPIOpen(&timeval)) {

Does this actually work with a timeout of 0? I'd assume that acpid could
never accept the connection in time.

A timeout of 100ms or so seems like it'd be a bunch more reliable?

-- 
keith.pack...@intel.com

Attachment: pgpavM1s1UxeO.pgp
Description: PGP signature

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to