Add gmx_getpid()
authorTeemu Murtola <teemu.murtola@gmail.com>
Thu, 11 Sep 2014 02:59:11 +0000 (05:59 +0300)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Thu, 11 Sep 2014 14:19:48 +0000 (16:19 +0200)
commitd191fe153c29168087ae76c7d672d7fcf217fbad
tree36b6550f72391f4900d127904438ccbc67edfcfd
parentfdbd674832f07e7388761a004321edd1089e8d39
Add gmx_getpid()

This allows getting rid of all conditional includes and some conditional
compilation in two different source files.

Change-Id: I3095843a2155b087730362a4f3ef409ccf24018c
src/gromacs/gmxlib/main.cpp
src/gromacs/random/random.c
src/gromacs/utility.h
src/gromacs/utility/sysinfo.cpp [new file with mode: 0644]
src/gromacs/utility/sysinfo.h [new file with mode: 0644]