diff ProcrContext.c @ 112:fac1d896f6e9

fixed: incomplete initialization of first record in vp
author Nina Engelhardt
date Mon, 15 Aug 2011 18:54:19 +0200
parents b1817e2451b1
children ce02441b77cf
line diff
     1.1 --- a/ProcrContext.c	Fri Aug 05 18:03:07 2011 +0200
     1.2 +++ b/ProcrContext.c	Mon Aug 15 18:54:19 2011 +0200
     1.3 @@ -64,6 +64,8 @@
     1.4     newPr->counter_history_array_info = makePrivDynArrayInfoFrom(&(newPr->counter_history),10);
     1.5     CounterRecord* newRecord = VMS__malloc(sizeof(CounterRecord));
     1.6     newRecord->task_position = 0;
     1.7 +   newRecord->vp_id = newPr->procrID;
     1.8 +   newRecord->addr_of_libcall_for_req = fnPtr;
     1.9     addToDynArray( (void*) newRecord, newPr->counter_history_array_info);
    1.10     #endif
    1.11     //========================================================================