]> git.ipfire.org Git - thirdparty/plymouth.git/commit
[event-loop] Sketch out cothreads implementation cothreads
authorRay Strode <rstrode@redhat.com>
Sun, 15 Nov 2009 18:38:54 +0000 (13:38 -0500)
committerRay Strode <rstrode@redhat.com>
Mon, 16 Nov 2009 06:28:41 +0000 (01:28 -0500)
commit34ad039ed0816bd7372aca95dc0d25327320154d
tree47e628780ca750837bce7171e55add4ccb469340
parent63412f8196fc8eeb897ab85bc193c122cea093f1
[event-loop] Sketch out cothreads implementation

This is just an experiment.  It would let us potentially
avoid callback calling callback calling callback type code,
and instead have each handler yield when it needs to wait,
and resume where it left off when it's done waiting.

This is an initial draft.  It isn't finished being written,
has only barely been tested, etc.
src/libply/ply-event-loop.c
src/libply/ply-event-loop.h