Fix tests after coro_create change

coroutines have a new name property for debugging
This commit is contained in:
Moritz Bitsch 2018-07-30 11:43:16 +02:00
parent be9a95fcf2
commit 343f0f4846
3 changed files with 5 additions and 5 deletions

View file

@ -16,10 +16,10 @@ $(LIB): $(OBJS)
$(AR) rvc $(LIB) $?
testyield: testyield.c $(LIB)
$(CC) $(CFLAGS) -o $@ testyield.c $(LIB)
$(CC) $(CFLAGS) -o $@ testyield.c $(LIB) -lm
testdelay: testdelay.c $(LIB)
$(CC) $(CFLAGS) -o $@ testdelay.c $(LIB)
$(CC) $(CFLAGS) -o $@ testdelay.c $(LIB) -lm
test: testyield testdelay

View file

@ -30,7 +30,7 @@ main(int argc, char** argv)
(void) argc;
(void) argv;
coio_create(_t1, NULL, 0x8000);
coio_create("t1", _t1, NULL, 0x8000);
if (coio_main() < 0) {
printf("Deadlocked\n");

View file

@ -38,8 +38,8 @@ main(int argc, char** argv)
(void) argc;
(void) argv;
coio_create(_t1, NULL, 0x8000);
coio_create(_t2, NULL, 0x8000);
coio_create("t1", _t1, NULL, 0x8000);
coio_create("t2", _t2, NULL, 0x8000);
if (coio_main() < 0) {
printf("Deadlocked\n");