2
3
4
6 mysql_waitpid - kill process and wait for its termination
7
9 mysql_waitpid [options] pid wait_time
10
12 mysql_waitpid signals a process to terminate and waits for the process
13 to exit. It uses the kill() system call and Unix signals, so it runs on
14 Unix and Unix-like systems.
15
16 Invoke mysql_waitpid like this:
17
18 shell> mysql_waitpid [options] pid wait_time
19
20 mysql_waitpid sends signal 0 to the process identified by pid and waits
21 up to wait_time seconds for the process to terminate. pid and
22 wait_time must be positive integers.
23
24 If process termination occurs within the wait time or the process does
25 not exist, mysql_waitpid returns 0. Otherwise, it returns 1.
26
27 If the kill() system call cannot handle signal 0, mysql_waitpid() uses
28 signal 1 instead.
29
30 mysql_waitpid understands the following options:
31
32 · --help, -?, -I
33
34 Display a help message and exit.
35
36 · --verbose, -v
37
38 Verbose mode. Display a warning if signal 0 could not be used and
39 signal 1 is used instead.
40
41 · --version, -V
42
43 Display version information and exit.
44
46 Copyright 1997-2007 MySQL AB
47
48 This documentation is NOT distributed under a GPL license. Use of this
49 documentation is subject to the following terms: You may create a
50 printed copy of this documentation solely for your own personal use.
51 Conversion to other formats is allowed as long as the actual content is
52 not altered or edited in any way. You shall not publish or distribute
53 this documentation in any form or on any media, except if you
54 distribute the documentation in a manner similar to how MySQL
55 disseminates it (that is, electronically for download on a Web site
56 with the software) or on a CD-ROM or similar medium, provided however
57 that the documentation is disseminated together with the software on
58 the same medium. Any other use, such as any dissemination of printed
59 copies or use of this documentation, in whole or in part, in another
60 publication, requires the prior written consent from an authorized
61 representative of MySQL AB. MySQL AB reserves any and all rights to
62 this documentation not expressly granted above.
63
64 Please email <docs@mysql.com> for more information.
65
67 For more information, please refer to the MySQL Reference Manual, which
68 may already be installed locally and which is also available online at
69 http://dev.mysql.com/doc/.
70
72 MySQL AB (http://www.mysql.com/). This software comes with no
73 warranty.
74
75
76
77MySQL 5.0 07/04/2007 MYSQL_WAITPID(1)