Cleaned warnings
This commit is contained in:
parent
6c29dd435b
commit
1194c2b59c
|
@ -52,7 +52,9 @@ int main(int argc, char **argv)
|
|||
arrowList->space = (int*) malloc(sizeof(int)*ARROW_NUMBER);
|
||||
arrowList->size = ARROW_NUMBER;
|
||||
|
||||
printf("globalPreemptionSpace: %p, size: %d\n", globalPreemptionSpace, globalDrawingSpace->size);
|
||||
printf("globalDrawingSpace: %p, size: %d\n", globalDrawingSpace, globalDrawingSpace->size);
|
||||
printf("arrowList: %p, size: %d\n", arrowList, arrowList->size);
|
||||
printf("globalPreemptionSpace: %p, size: %lu\n", globalPreemptionSpace, globalDrawingSpace->size);
|
||||
printf("globalDrawingSpace: %p, size: %lu\n", globalDrawingSpace, globalDrawingSpace->size);
|
||||
printf("arrowList: %p, size: %lu\n", arrowList, arrowList->size);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -0,0 +1,32 @@
|
|||
//=-------------------------------------------------------------------------=//
|
||||
// Scheduler module //
|
||||
// //
|
||||
// Copyright © 2021 The Gem-graph Project //
|
||||
// //
|
||||
// This file is part of gem-graph. //
|
||||
// //
|
||||
// This program is free software: you can redistribute it and/or modify //
|
||||
// it under the terms of the GNU Affero General Public License as //
|
||||
// published by the Free Software Foundation, either version 3 of the //
|
||||
// License, or (at your option) any later version. //
|
||||
// //
|
||||
// This program is distributed in the hope that it will be useful, //
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
|
||||
// GNU Affero General Public License for more details. //
|
||||
// //
|
||||
// You should have received a copy of the GNU Affero General Public License //
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>. //
|
||||
//=-------------------------------------------------------------------------=//
|
||||
|
||||
#include <pthread.h>
|
||||
#include <stdio.h>
|
||||
#include <malloc.h>
|
||||
#include "../include/types.h"
|
||||
#include "../include/localthread.h"
|
||||
|
||||
int SchedInit(BoolArray_t *globalePreemptionSpace, IntArray_t *transitionsTree,
|
||||
IntArray_t *arrowList, int nmaxThread, int nmaxCycles)
|
||||
{
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue