Changeset 15382
- Timestamp:
- 2013-02-28T07:39:19+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SimulationRuntime/c/meta/meta_modelica_segv.c
r15381 r15382 112 112 * On Linux we get the bottom, so we don't need the size... YMMV 113 113 */ 114 pthread_t self = pthread_self(); 114 115 #if !defined(__APPLE_CC__) 115 116 struct rlimit rl; … … 117 118 pthread_attr_t sattr; 118 119 pthread_attr_init(&sattr); 119 pthread_t thread = pthread_self(); 120 pthread_getattr_np(thread, &sattr); 120 pthread_getattr_np(self, &sattr); 121 121 /* assert(0==getrlimit(RLIMIT_STACK,&rl)); 122 122 stackSize = rl.rlim_cur; */
Note: See TracChangeset
for help on using the changeset viewer.