Added change-area-description to the Scheme functions.
This commit is contained in:
parent
4696a1ec32
commit
fd846c7744
|
@ -226,9 +226,11 @@ int main(int argc, char ** argv)
|
||||||
pthread_create(&outputThread, NULL, &outputThreadHandler, outputParameters);
|
pthread_create(&outputThread, NULL, &outputThreadHandler, outputParameters);
|
||||||
slowPrint("\tOutput Thread is:\t\033[32;40mGREEN.\033[0m\n", delay);
|
slowPrint("\tOutput Thread is:\t\033[32;40mGREEN.\033[0m\n", delay);
|
||||||
|
|
||||||
|
// Prepare the Scheme handler thread:
|
||||||
SchemeThreadParameters * schemeParameters = malloc(sizeof(SchemeThreadParameters));
|
SchemeThreadParameters * schemeParameters = malloc(sizeof(SchemeThreadParameters));
|
||||||
schemeParameters->skillList = globalSkillList;
|
schemeParameters->skillList = globalSkillList;
|
||||||
schemeParameters->outputQueue = outputQueue;
|
schemeParameters->outputQueue = outputQueue;
|
||||||
|
schemeParameters->areaList = areas;
|
||||||
slowPrint("\tScheme Thread is:\t\033[32;40mGREEN.\033[0m\n", delay);
|
slowPrint("\tScheme Thread is:\t\033[32;40mGREEN.\033[0m\n", delay);
|
||||||
slowPrint("=====\n", delay);
|
slowPrint("=====\n", delay);
|
||||||
pthread_create(&schemeThread, NULL, &schemeHandler, schemeParameters);
|
pthread_create(&schemeThread, NULL, &schemeHandler, schemeParameters);
|
||||||
|
|
Loading…
Reference in New Issue