Home
last modified time | relevance | path

Searched refs:m_pid (Results 1 – 25 of 609) sorted by relevance

12345678910>>...25

/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/storage/ndb/src/cw/cpcd/
H A DProcess.cpp81 m_pid = bad_pid; in Process()
172 m_pid = bad_pid; in monitor()
191 m_pid = bad_pid; in monitor()
202 if (is_bad_pid(m_pid)) { in isRunning()
253 return is_bad_pid(m_pid) ? bad_pid : m_pid; in getPid()
258 return m_pid; in readPid()
283 return m_pid; in readPid()
654 m_pid = bad_pid; in start()
664 m_pid = bad_pid; in start()
782 m_pid); in start()
[all …]
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/libs/utils/
H A Dprocesshandle.cpp42 : m_pid(InvalidPid) in ProcessHandle()
47 : m_pid(pid) in ProcessHandle()
53 return m_pid != InvalidPid; in isValid()
58 m_pid = pid; in setPid()
63 return m_pid; in pid()
68 return m_pid == rhs.m_pid; in equals()
/dports/databases/percona56-client/percona-server-5.6.51-91.0/storage/ndb/test/include/
H A DNdbProcess.hpp38 pid_t m_pid; member in NdbProcess
104 if (!start_process(proc->m_pid, path.c_str(), cwd.c_str(), args)) in create()
116 int ret = kill(m_pid, 9); in stop()
121 m_pid, ret, errno); in stop()
124 printf("Stopped process %d\n", m_pid); in stop()
134 pid_t ret_pid = waitpid(m_pid, &status, WNOHANG); in wait()
139 m_pid, status, errno); in wait()
143 if (ret_pid == m_pid) in wait()
152 printf("Got process %d, status: %d, ret: %d\n", m_pid, status, ret); in wait()
162 "Timeout when waiting for process %d\n", m_pid); in wait()
[all …]
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/storage/ndb/test/include/
H A DNdbProcess.hpp38 pid_t m_pid; member in NdbProcess
104 if (!start_process(proc->m_pid, path.c_str(), cwd.c_str(), args)) in create()
116 int ret = kill(m_pid, 9); in stop()
121 m_pid, ret, errno); in stop()
124 printf("Stopped process %d\n", m_pid); in stop()
134 pid_t ret_pid = waitpid(m_pid, &status, WNOHANG); in wait()
139 m_pid, status, errno); in wait()
143 if (ret_pid == m_pid) in wait()
152 printf("Got process %d, status: %d, ret: %d\n", m_pid, status, ret); in wait()
162 "Timeout when waiting for process %d\n", m_pid); in wait()
[all …]
/dports/databases/percona56-server/percona-server-5.6.51-91.0/storage/ndb/test/include/
H A DNdbProcess.hpp38 pid_t m_pid; member in NdbProcess
104 if (!start_process(proc->m_pid, path.c_str(), cwd.c_str(), args)) in create()
116 int ret = kill(m_pid, 9); in stop()
121 m_pid, ret, errno); in stop()
124 printf("Stopped process %d\n", m_pid); in stop()
134 pid_t ret_pid = waitpid(m_pid, &status, WNOHANG); in wait()
139 m_pid, status, errno); in wait()
143 if (ret_pid == m_pid) in wait()
152 printf("Got process %d, status: %d, ret: %d\n", m_pid, status, ret); in wait()
162 "Timeout when waiting for process %d\n", m_pid); in wait()
[all …]
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/storage/ndb/test/include/
H A DNdbProcess.hpp38 pid_t m_pid; member in NdbProcess
104 if (!start_process(proc->m_pid, path.c_str(), cwd.c_str(), args)) in create()
116 int ret = kill(m_pid, 9); in stop()
121 m_pid, ret, errno); in stop()
124 printf("Stopped process %d\n", m_pid); in stop()
134 pid_t ret_pid = waitpid(m_pid, &status, WNOHANG); in wait()
139 m_pid, status, errno); in wait()
143 if (ret_pid == m_pid) in wait()
152 printf("Got process %d, status: %d, ret: %d\n", m_pid, status, ret); in wait()
162 "Timeout when waiting for process %d\n", m_pid); in wait()
[all …]
/dports/databases/mysql56-client/mysql-5.6.51/storage/ndb/test/include/
H A DNdbProcess.hpp38 pid_t m_pid; member in NdbProcess
104 if (!start_process(proc->m_pid, path.c_str(), cwd.c_str(), args)) in create()
116 int ret = kill(m_pid, 9); in stop()
121 m_pid, ret, errno); in stop()
124 printf("Stopped process %d\n", m_pid); in stop()
134 pid_t ret_pid = waitpid(m_pid, &status, WNOHANG); in wait()
139 m_pid, status, errno); in wait()
143 if (ret_pid == m_pid) in wait()
152 printf("Got process %d, status: %d, ret: %d\n", m_pid, status, ret); in wait()
162 "Timeout when waiting for process %d\n", m_pid); in wait()
[all …]
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/storage/ndb/test/include/
H A DNdbProcess.hpp37 pid_t m_pid; member in NdbProcess
109 if (!start_process(proc->m_pid, path.c_str(), cwd.c_str(), args)) in create()
121 int ret = kill(m_pid, 9); in stop()
126 m_pid, ret, errno); in stop()
129 printf("Stopped process %d\n", m_pid); in stop()
139 pid_t ret_pid = waitpid(m_pid, &status, WNOHANG); in wait()
144 m_pid, status, errno); in wait()
148 if (ret_pid == m_pid) in wait()
157 printf("Got process %d, status: %d, ret: %d\n", m_pid, status, ret); in wait()
167 "Timeout when waiting for process %d\n", m_pid); in wait()
[all …]
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/ndb/test/include/
H A DNdbProcess.hpp37 pid_t m_pid; member in NdbProcess
109 if (!start_process(proc->m_pid, path.c_str(), cwd.c_str(), args)) in create()
121 int ret = kill(m_pid, 9); in stop()
126 m_pid, ret, errno); in stop()
129 printf("Stopped process %d\n", m_pid); in stop()
139 pid_t ret_pid = waitpid(m_pid, &status, WNOHANG); in wait()
144 m_pid, status, errno); in wait()
148 if (ret_pid == m_pid) in wait()
157 printf("Got process %d, status: %d, ret: %d\n", m_pid, status, ret); in wait()
167 "Timeout when waiting for process %d\n", m_pid); in wait()
[all …]
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/storage/ndb/test/include/
H A DNdbProcess.hpp37 pid_t m_pid; member in NdbProcess
109 if (!start_process(proc->m_pid, path.c_str(), cwd.c_str(), args)) in create()
121 int ret = kill(m_pid, 9); in stop()
126 m_pid, ret, errno); in stop()
129 printf("Stopped process %d\n", m_pid); in stop()
139 pid_t ret_pid = waitpid(m_pid, &status, WNOHANG); in wait()
144 m_pid, status, errno); in wait()
148 if (ret_pid == m_pid) in wait()
157 printf("Got process %d, status: %d, ret: %d\n", m_pid, status, ret); in wait()
167 "Timeout when waiting for process %d\n", m_pid); in wait()
[all …]
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/storage/ndb/test/include/
H A DNdbProcess.hpp37 pid_t m_pid; member in NdbProcess
109 if (!start_process(proc->m_pid, path.c_str(), cwd.c_str(), args)) in create()
121 int ret = kill(m_pid, 9); in stop()
126 m_pid, ret, errno); in stop()
129 printf("Stopped process %d\n", m_pid); in stop()
139 pid_t ret_pid = waitpid(m_pid, &status, WNOHANG); in wait()
144 m_pid, status, errno); in wait()
148 if (ret_pid == m_pid) in wait()
157 printf("Got process %d, status: %d, ret: %d\n", m_pid, status, ret); in wait()
167 "Timeout when waiting for process %d\n", m_pid); in wait()
[all …]
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/ndb/test/include/
H A DNdbProcess.hpp37 pid_t m_pid; member in NdbProcess
109 if (!start_process(proc->m_pid, path.c_str(), cwd.c_str(), args)) in create()
121 int ret = kill(m_pid, 9); in stop()
126 m_pid, ret, errno); in stop()
129 printf("Stopped process %d\n", m_pid); in stop()
139 pid_t ret_pid = waitpid(m_pid, &status, WNOHANG); in wait()
144 m_pid, status, errno); in wait()
148 if (ret_pid == m_pid) in wait()
157 printf("Got process %d, status: %d, ret: %d\n", m_pid, status, ret); in wait()
167 "Timeout when waiting for process %d\n", m_pid); in wait()
[all …]
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/storage/ndb/test/include/
H A DNdbProcess.hpp37 pid_t m_pid; member in NdbProcess
109 if (!start_process(proc->m_pid, path.c_str(), cwd.c_str(), args)) in create()
121 int ret = kill(m_pid, 9); in stop()
126 m_pid, ret, errno); in stop()
129 printf("Stopped process %d\n", m_pid); in stop()
139 pid_t ret_pid = waitpid(m_pid, &status, WNOHANG); in wait()
144 m_pid, status, errno); in wait()
148 if (ret_pid == m_pid) in wait()
157 printf("Got process %d, status: %d, ret: %d\n", m_pid, status, ret); in wait()
167 "Timeout when waiting for process %d\n", m_pid); in wait()
[all …]
/dports/databases/mysql55-client/mysql-5.5.62/storage/ndb/src/cw/cpcd/
H A DProcess.cpp53 m_pid = -1; in Process()
107 if(m_pid <= 1){ in isRunning()
135 if(m_pid != -1){ in readPid()
137 return m_pid; in readPid()
161 return m_pid; in readPid()
430 if(pgid != -1 && pgid != m_pid){ in start()
449 if(m_pid <= 1){ in stop()
451 m_pid, m_id); in stop()
461 int ret = kill(-m_pid, signo); in stop()
473 ret = kill(-m_pid, SIGKILL); in stop()
[all …]
/dports/news/nn/nn-6.7.3/
H A Dproto.c61 FILE *m_pid; in write_lock() local
64 m_pid = open_file(lock, OPEN_CREATE); in write_lock()
65 if (m_pid == NULL) in write_lock()
68 fprintf(m_pid, "%d\n%s\n", process_id, host); in write_lock()
69 fclose(m_pid); in write_lock()
75 FILE *m_pid; in read_lock() local
82 m_pid = open_file(lock, OPEN_READ); in read_lock()
83 if (m_pid == NULL) in read_lock()
85 fgets(pid, 10, m_pid); in read_lock()
86 fgets(proto_host, HOSTBUF, m_pid); in read_lock()
[all …]
/dports/mail/emailrelay/emailrelay-1.9/src/glib/
H A Dgprocess_win32.cpp39 unsigned int m_pid ; member in G::Process::IdImp
46 m_pid = static_cast<unsigned int>(::_getpid()) ; // or ::GetCurrentProcessId() in Id()
50 m_pid(0) in Id()
53 file >> m_pid ; in Id()
55 m_pid = 0 ; in Id()
60 stream >> m_pid ; in Id()
68 ss << m_pid ; in str()
74 return m_pid == rhs.m_pid ; in operator ==()
/dports/sysutils/plasma5-drkonqi/drkonqi-5.23.5/src/
H A Ddetachedprocessmonitor.cpp19 , m_pid(0) in DetachedProcessMonitor()
25 m_pid = pid; in startMonitoring()
31 Q_ASSERT(m_pid != 0); in timerEvent()
32 if (::kill(m_pid, 0) < 0) { in timerEvent()
33 qCDebug(DRKONQI_LOG) << "Process" << m_pid << "finished. kill(2) returned errno:" << errno; in timerEvent()
35 m_pid = 0; in timerEvent()
/dports/devel/cervisia/cervisia-21.12.3/cvsservice/
H A Dsshagent.cpp35 QString SshAgent::m_pid; member in SshAgent
63 m_pid = QString::fromLocal8Bit(pid); in querySshAgent()
95 proc.setEnv("SSH_AGENT_PID", m_pid); in addSshIdentities()
121 kill(m_pid.toInt(), SIGTERM); in killSshAgent()
123 qCDebug(log_cervisia) << "killed pid=" << m_pid; in killSshAgent()
139 if( m_pid.isEmpty() ) in slotProcessFinished()
143 m_pid = cshPidRx.cap(1); in slotProcessFinished()
149 m_pid = bashPidRx.cap(1); in slotProcessFinished()
170 qCDebug(log_cervisia) << "pid=" << m_pid << ", socket=" << m_authSock; in slotProcessFinished()
/dports/databases/percona56-server/percona-server-5.6.51-91.0/storage/ndb/src/cw/cpcd/
H A DProcess.cpp71 m_pid = bad_pid; in Process()
128 if (is_bad_pid(m_pid)) { in isRunning()
178 if (!is_bad_pid(m_pid)) { in readPid()
180 return m_pid; in readPid()
204 return m_pid; in readPid()
659 if(pgid != -1 && pgid != m_pid){ in start()
679 if (is_bad_pid(m_pid)) in stop()
682 m_pid, m_id); in stop()
694 int ret = kill(-m_pid, signo); in stop()
706 ret = kill(-m_pid, SIGKILL); in stop()
[all …]
/dports/databases/percona56-client/percona-server-5.6.51-91.0/storage/ndb/src/cw/cpcd/
H A DProcess.cpp71 m_pid = bad_pid; in Process()
128 if (is_bad_pid(m_pid)) { in isRunning()
178 if (!is_bad_pid(m_pid)) { in readPid()
180 return m_pid; in readPid()
204 return m_pid; in readPid()
659 if(pgid != -1 && pgid != m_pid){ in start()
679 if (is_bad_pid(m_pid)) in stop()
682 m_pid, m_id); in stop()
694 int ret = kill(-m_pid, signo); in stop()
706 ret = kill(-m_pid, SIGKILL); in stop()
[all …]
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/storage/ndb/src/cw/cpcd/
H A DProcess.cpp71 m_pid = bad_pid; in Process()
128 if (is_bad_pid(m_pid)) { in isRunning()
178 if (!is_bad_pid(m_pid)) { in readPid()
180 return m_pid; in readPid()
204 return m_pid; in readPid()
659 if(pgid != -1 && pgid != m_pid){ in start()
679 if (is_bad_pid(m_pid)) in stop()
682 m_pid, m_id); in stop()
694 int ret = kill(-m_pid, signo); in stop()
706 ret = kill(-m_pid, SIGKILL); in stop()
[all …]
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/ndb/src/cw/cpcd/
H A DProcess.cpp71 m_pid = bad_pid; in Process()
128 if (is_bad_pid(m_pid)) { in isRunning()
178 if (!is_bad_pid(m_pid)) { in readPid()
180 return m_pid; in readPid()
204 return m_pid; in readPid()
659 if(pgid != -1 && pgid != m_pid){ in start()
679 if (is_bad_pid(m_pid)) in stop()
682 m_pid, m_id); in stop()
694 int ret = kill(-m_pid, signo); in stop()
706 ret = kill(-m_pid, SIGKILL); in stop()
[all …]
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/storage/ndb/src/cw/cpcd/
H A DProcess.cpp71 m_pid = bad_pid; in Process()
128 if (is_bad_pid(m_pid)) { in isRunning()
178 if (!is_bad_pid(m_pid)) { in readPid()
180 return m_pid; in readPid()
204 return m_pid; in readPid()
659 if(pgid != -1 && pgid != m_pid){ in start()
679 if (is_bad_pid(m_pid)) in stop()
682 m_pid, m_id); in stop()
694 int ret = kill(-m_pid, signo); in stop()
706 ret = kill(-m_pid, SIGKILL); in stop()
[all …]
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/ndb/src/cw/cpcd/
H A DProcess.cpp71 m_pid = bad_pid; in Process()
128 if (is_bad_pid(m_pid)) { in isRunning()
178 if (!is_bad_pid(m_pid)) { in readPid()
180 return m_pid; in readPid()
204 return m_pid; in readPid()
659 if(pgid != -1 && pgid != m_pid){ in start()
679 if (is_bad_pid(m_pid)) in stop()
682 m_pid, m_id); in stop()
694 int ret = kill(-m_pid, signo); in stop()
706 ret = kill(-m_pid, SIGKILL); in stop()
[all …]
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/storage/ndb/src/cw/cpcd/
H A DProcess.cpp71 m_pid = bad_pid; in Process()
128 if (is_bad_pid(m_pid)) { in isRunning()
178 if (!is_bad_pid(m_pid)) { in readPid()
180 return m_pid; in readPid()
204 return m_pid; in readPid()
659 if(pgid != -1 && pgid != m_pid){ in start()
679 if (is_bad_pid(m_pid)) in stop()
682 m_pid, m_id); in stop()
694 int ret = kill(-m_pid, signo); in stop()
706 ret = kill(-m_pid, SIGKILL); in stop()
[all …]

12345678910>>...25