X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=mart%2Fex10%2Fex10a.c;h=cf1272f712afe7540c10da524c8284b0007fe36f;hb=b0bd8f724348ba4ec1adb341bc37ab556d7abb10;hp=dca83419b2949d3b3db851b78777cdec48af1d58;hpb=8e469bf1068e534076abff65ddb66676abf35f32;p=des2015.git diff --git a/mart/ex10/ex10a.c b/mart/ex10/ex10a.c index dca8341..cf1272f 100644 --- a/mart/ex10/ex10a.c +++ b/mart/ex10/ex10a.c @@ -15,7 +15,6 @@ RTIME times[SAMPLES]; void taskf(void *arg) { - RT_TASK *curtask; rt_task_set_periodic(NULL, TM_NOW, 1e5); unsigned int i; @@ -31,11 +30,6 @@ void taskf(void *arg) fclose(file); } -void taskw(void *arg) -{ - rt_task_join(&task); -} - int main(int argc, char* argv[]) { rt_print_auto_init(1);