Repair the sys_info function to correctly incorporate the pid field and initialize it. Many thanks to Jeff for catching the error.
This commit was SVN r1225.
Этот коммит содержится в:
родитель
3ba6a024c9
Коммит
a877c2a954
@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
ompi_sys_info_t ompi_system_info = {
|
ompi_sys_info_t ompi_system_info = {
|
||||||
/* .init = */ false,
|
/* .init = */ false,
|
||||||
|
/* .pid = */ 0,
|
||||||
/* .sysname = */ NULL,
|
/* .sysname = */ NULL,
|
||||||
/* .nodename = */ NULL,
|
/* .nodename = */ NULL,
|
||||||
/* .release = */ NULL,
|
/* .release = */ NULL,
|
||||||
|
@ -25,7 +25,7 @@ struct ompi_sys_info_t {
|
|||||||
* Certifies that the ompi_sys_info() function has been
|
* Certifies that the ompi_sys_info() function has been
|
||||||
* called at least once so fields have valid values
|
* called at least once so fields have valid values
|
||||||
*/
|
*/
|
||||||
int pid; /* Process ID for this process */
|
pid_t pid; /* Process ID for this process */
|
||||||
char *sysname; /**< Name of OS in use on this node. */
|
char *sysname; /**< Name of OS in use on this node. */
|
||||||
char *nodename; /**< Fully qualified host name on the network. */
|
char *nodename; /**< Fully qualified host name on the network. */
|
||||||
char *release; /**< Release level of the operating system. */
|
char *release; /**< Release level of the operating system. */
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user