Changeset 4f2166b for global.c


Ignore:
Timestamp:
Oct 19, 2009, 10:14:15 PM (15 years ago)
Author:
Alejandro R. Sedeño <asedeno@mit.edu>
Branches:
master, release-1.10, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
dbf94e9
Parents:
cc1a6d4
git-author:
Alejandro R. Sedeño <asedeno@mit.edu> (10/13/09 03:01:31)
git-committer:
Alejandro R. Sedeño <asedeno@mit.edu> (10/19/09 22:14:15)
Message:
Add a pre-select action list.

Allow us to add actions that should be performed before calling
pselect(). If the action performs any useful work, it should return
non-zero. If any of the actions return a non-zero value, the timeout
for pselect() will be set to 0s, so that we can process all of these
actions again in case they are interacting with one another, while
still keeping an eye on our file descriptors and timers.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • global.c

    r40bda84 r4f2166b  
    113113  owl_message_init_fmtext_cache();
    114114  owl_list_create(&(g->dispatchlist));
     115  owl_list_create(&(g->psa_list));
    115116  g->timerlist = NULL;
    116117  g->interrupted = FALSE;
     
    953954}
    954955
     956owl_list *owl_global_get_psa_list(owl_global *g)
     957{
     958  return &(g->psa_list);
     959}
     960
    955961GList **owl_global_get_timerlist(owl_global *g)
    956962{
Note: See TracChangeset for help on using the changeset viewer.