[patch] asynchronous callouts

Joe Shaw joe at ximian.com
Tue Apr 20 12:12:15 PDT 2004


Hi,

I just committed the attached patch, which makes the callouts
asynchronous, but still executed one at a time.  This means that the
daemon will be responsive now in callouts, and trying to use libhal or
one of the utility functions from a callout won't deadlock things. :)

A good TODO item would be to have callouts time out after a while, say
20 seconds.  Another might be to spawn multiple callouts at once, with
an upper bound of 2, 3, 5 or something.

Joe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hald-async-callout.patch
Type: text/x-diff
Size: 5434 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20040420/6123ded6/hald-async-callout.bin
-------------- next part --------------
_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal


More information about the Hal mailing list