X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=sched.h;h=26aaabe9a5678621b9e3fe4d1ba4c27d34fbfb4f;hp=b92aaff75bd8554069145e70a1fe0db3274c4905;hb=f24f82d9a9134562abc331558b9e21feff91b93b;hpb=f15a16b7a40e263ab7e86c9437fe9db0216ba605;ds=sidebyside diff --git a/sched.h b/sched.h index b92aaff7..26aaabe9 100644 --- a/sched.h +++ b/sched.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006-2008 Andre Noll + * Copyright (C) 2006-2009 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -27,6 +27,8 @@ struct sched { fd_set wfds; /** Highest numbered file descriptor in any of the above fd sets. */ int max_fileno; + /** In non-NULL, use this function instead of para_select. */ + int (*select_function)(int, fd_set *, fd_set *, struct timeval *); }; /**