diff options
author | onefang | 2021-09-14 16:46:09 +1000 |
---|---|---|
committer | onefang | 2021-09-14 16:46:09 +1000 |
commit | 8b6358287ef0449e3abfcb553c80d133c2d4a378 (patch) | |
tree | 7f9f1c0b2ff841da566ba39f555296bb7aefbeb6 | |
parent | Another attempt to find the backup pane ID. (diff) | |
download | opensim-SC-8b6358287ef0449e3abfcb553c80d133c2d4a378.zip opensim-SC-8b6358287ef0449e3abfcb553c80d133c2d4a378.tar.gz opensim-SC-8b6358287ef0449e3abfcb553c80d133c2d4a378.tar.bz2 opensim-SC-8b6358287ef0449e3abfcb553c80d133c2d4a378.tar.xz |
Move getSims() back.
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index b1f34ac..1a84f13 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c | |||
@@ -8814,6 +8814,7 @@ Copy correct config/config.ini to there. | |||
8814 | // Other start up stuff. | 8814 | // Other start up stuff. |
8815 | //////////////////////////////////////////////////////////////////////////////////////////////////// | 8815 | //////////////////////////////////////////////////////////////////////////////////////////////////// |
8816 | 8816 | ||
8817 | getSims(); | ||
8817 | if (isTmux || isWeb) | 8818 | if (isTmux || isWeb) |
8818 | { | 8819 | { |
8819 | char *d; | 8820 | char *d; |
@@ -8942,7 +8943,6 @@ Copy correct config/config.ini to there. | |||
8942 | // TODO - See https://stackoverflow.com/questions/2693948/how-do-i-retrieve-the-number-of-processors-on-c-linux, there are more portable ways, this seems to be GNU specific. | 8943 | // TODO - See https://stackoverflow.com/questions/2693948/how-do-i-retrieve-the-number-of-processors-on-c-linux, there are more portable ways, this seems to be GNU specific. |
8943 | int cpus = (int) sysconf(_SC_NPROCESSORS_CONF), cpusOnline = (int) sysconf(_SC_NPROCESSORS_ONLN); | 8944 | int cpus = (int) sysconf(_SC_NPROCESSORS_CONF), cpusOnline = (int) sysconf(_SC_NPROCESSORS_ONLN); |
8944 | 8945 | ||
8945 | getSims(); | ||
8946 | ourSims->doIt = 1; | 8946 | ourSims->doIt = 1; |
8947 | if (0 == bulkSims) | 8947 | if (0 == bulkSims) |
8948 | bulkSims = (cpusOnline / 3) - 1; | 8948 | bulkSims = (cpusOnline / 3) - 1; |