]> code.citadel.org Git - citadel.git/blobdiff - citadel/server_main.c
* New session scheduler. All sessions which select() marks for activity
[citadel.git] / citadel / server_main.c
index ebf85cdf1b39cf16abaa298b6170351a322ad3e5..0472d49c48107abc32ef8a01e46ffba07fb27d0a 100644 (file)
@@ -190,19 +190,6 @@ int main(int argc, char **argv)
        size = strlen(bbs_home_directory) + 9;
        initialize_server_extensions();
 
-       /*
-        * The rescan pipe exists so that worker threads can be woken up and
-        * told to re-scan the context list for fd's to listen on.  This is
-        * necessary, for example, when a context is about to go idle and needs
-        * to get back on that list.
-        */
-       if (pipe(rescan)) {
-               lprintf(CTDL_EMERG, "Can't create rescan pipe!\n");
-               exit(errno);
-       }
-
-       init_master_fdset();
-
        /*
         * Now that we've bound the sockets, change to the BBS user id and its
         * corresponding group ids