Searched refs:wait (Results 1 - 25 of 36) sorted by relevance

12

/dovecot/src/lib/
H A Dchild-wait.c6 #include "child-wait.h"
8 #include <sys/wait.h>
19 /* pid_t => wait */
27 struct child_wait *wait; local
29 wait = i_new(struct child_wait, 1);
30 wait->callback = callback;
31 wait->context = context;
34 child_wait_add_pid(wait, pid);
35 return wait;
40 struct child_wait *wait local
63 child_wait_add_pid(struct child_wait *wait, pid_t pid) argument
69 child_wait_remove_pid(struct child_wait *wait, pid_t pid) argument
[all...]
H A Dchild-wait.h5 struct child_wait *wait; member in struct:child_wait_status
24 void child_wait_free(struct child_wait **wait);
26 void child_wait_add_pid(struct child_wait *wait, pid_t pid);
27 void child_wait_remove_pid(struct child_wait *wait, pid_t pid);
/dovecot/src/master/
H A Dservice-monitor.h8 void services_monitor_stop(struct service_list *service_list, bool wait);
H A Dservice.h103 /* when process_limit is reached, wait for a while until we actually
166 void services_destroy(struct service_list *service_list, bool wait);
H A Dservice-monitor.c19 #include <sys/wait.h>
127 /* we've probably wait()ed it away already. ignore */
291 wait until there are more processes available */
620 now wait for the children to either die or to tell that
632 /* SIGQUITs were sent. wait a little bit to make sure they're
638 void services_monitor_stop(struct service_list *service_list, bool wait) argument
645 if (wait)
H A Dservice.c631 void services_destroy(struct service_list *service_list, bool wait) argument
637 services_monitor_stop(service_list, wait);
H A Dservice-process.c34 #include <sys/wait.h>
H A Dmaster-settings.c20 #include <sys/wait.h>
/dovecot/src/plugins/welcome/
H A Dwelcome-plugin.c25 static void script_execute(struct mail_user *user, const char *cmd, bool wait) argument
33 i_debug("welcome: Executing %s (wait=%d)", cmd, wait ? 1 : 0);
57 if (!wait)
71 else if (wait) {
93 and wait until open() time to actually run it */
106 bool wait = mail_user_plugin_getenv_bool(box->storage->user, local
108 script_execute(box->storage->user, cmd, wait);
/dovecot/src/util/
H A Dgdbhelper.c9 #include <sys/wait.h>
48 if (wait(&status) < 0)
49 i_fatal("wait() failed: %m");
H A Dscript.c16 #include <sys/wait.h>
/dovecot/src/lib-dict/
H A Ddict-private.h12 void (*wait)(struct dict *dict); member in struct:dict_vfuncs
H A Ddict-fail.c114 .wait = dict_fail_wait,
H A Ddict.c106 if (dict->v.wait != NULL)
107 dict->v.wait(dict);
/dovecot/src/director/
H A Ddoveadm-connection.c851 bool wait = TRUE; local
859 wait = FALSE;
870 if (wait) {
871 /* we have work to do, wait until it finishes */
888 bool wait = TRUE; local
897 wait = FALSE;
909 if (wait) {
910 /* we have work to do, wait until it finishes */
990 /* wait for ring to be synced before running the command */
/dovecot/src/lib-lda/
H A Dmail-send.c24 #include <sys/wait.h>
/dovecot/src/auth/
H A Dmech-winbind.c21 #include <sys/wait.h>
68 /* FIXME: use child-wait.h API */
H A Ddb-checkpassword.c17 #include "child-wait.h"
21 #include <sys/wait.h>
/dovecot/src/imap-urlauth/
H A Dimap-urlauth-client.c23 #include <sys/wait.h>
/dovecot/src/lib-program-client/
H A Dprogram-client-local.c13 #include "child-wait.h"
20 #include <sys/wait.h>
H A Dprogram-client-remote.c18 #include <sys/wait.h>
/dovecot/src/lib-smtp/
H A Dsmtp-submit.c19 #include <sys/wait.h>
H A Dtest-smtp-payload.c24 #include <sys/wait.h>
/dovecot/src/lib-dict-backend/
H A Ddict-ldap.c464 .wait = ldap_dict_wait,
/dovecot/src/lib-http/
H A Dtest-http-server-errors.c17 #include <sys/wait.h>
815 usleep(100000); /* wait a little for server setup */
821 /* wait for it to be killed; this way, valgrind will not

Completed in 49 milliseconds

12