Changeset 3ecd78b for owl.c


Ignore:
Timestamp:
Sep 18, 2010, 3:14:30 PM (11 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
de6f317
Parents:
8402a093
git-author:
David Benjamin <davidben@mit.edu> (09/14/10 16:52:41)
git-committer:
David Benjamin <davidben@mit.edu> (09/18/10 15:14:30)
Message:
Move the event loop to owl_select as owl_select_run_loop

Also adds a function to quit the select loop so that owl_function_quit
needn't exit() directly. main should be allowed to clean up after
itself.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.c

    r8402a093 r3ecd78b  
    584584
    585585  owl_function_debugmsg("startup: entering main loop");
    586   /* main loop */
    587   while (1) {
    588     /* select on FDs we know about. */
    589     owl_select();
    590   }
    591 }
     586  owl_select_run_loop();
     587  return 0;
     588}
Note: See TracChangeset for help on using the changeset viewer.