Changeset 4d80e2b in git for Singular/tesths.cc
- Timestamp:
- Mar 13, 2013, 2:51:58 PM (11 years ago)
- Branches:
- (u'spielwiese', '52dcfddee5ec87d404d5e0fb44f2d627608208f1')
- Children:
- 26644b1e36c8c6a0e6f8c9a50808f140e60e8f5d
- Parents:
- f4cb99aef04b01dbd74c27d86a41432f86153f98
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2013-03-13 14:51:58+01:00
- git-committer:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2013-03-13 14:57:49+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/tesths.cc
rf4cb99a r4d80e2b 49 49 #include <time.h> 50 50 #include <errno.h> 51 #ifdef HAVE_SIMPLEIPC 52 #include <Singular/links/simpleipc.h> 53 #endif 54 55 51 56 52 57 … … 124 129 if (optc == 'h') exit(0); 125 130 } 131 132 // semaphore0: CPUs -------------------------------------------------- 133 #ifdef HAVE_SIMPLEIPC 134 feOptIndex cpu_opt = feGetOptIndex("cpus"); 135 int cpus = (int)(long)feOptValue(FE_OPT_CPUS); 136 sipc_semaphore_init(0, cpus); 137 #endif 126 138 127 139 /* say hello */
Note: See TracChangeset
for help on using the changeset viewer.