summaryrefslogtreecommitdiffstats
path: root/lib/waiter/waiter.h
Commit message (Collapse)AuthorAgeFilesLines
* waiter: Don't rely on global variables to keep waiter stateJeremy Kerr2013-04-101-2/+6
| | | | | | | | | Rather than defining the set of waiters (and pollfds) in waiter.c, add a struct waitset to contain these. A waitset is created with waitset_create, which is passed to the waiter_* functions. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Geoff Levand <geoff@infradead.org>
* Move waiter to libraryGeoff Levand2009-02-011-0/+23
Move the waiter routines into the petitboot library. The waiter routines are generic enough to be used for both server and client. Does not change the waiter source. jk: move to lib/waiter/ instead of lib/ Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
OpenPOWER on IntegriCloud