Changeset d5bd4bc in git for Singular/tesths.cc
- Timestamp:
- Mar 13, 2013, 4:49:38 PM (10 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'ad2543eab51733612ba7d118afc77edca719600e')
- Children:
- 04e7556fe730216bd564bec951a95057bd31b6fc
- Parents:
- ede7a69d54c25b9d0c8b81afc4a499d622183a15ed29fb4605d820ab1aafd221b2254f3a72ef4c3c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/tesths.cc
red29fb rd5bd4bc 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.