Steps to reproduce
You can easily recreate this issue by adding a function for module_debug into dummy.c.
int module_debug(int enable, const char *file)
{
return 0;
}
The other way you can recreate this bug is by adding spd_pthread_create into one of the skeleton0_ modules.
Obtained behavior
multiple definition errors when linking.
Expected behavior
As spd_pthread_create is a common function it should work in all locations.
spd_pthread_create is necessary to create new threads that play nice with the existing module_loop. module_* functions are need to handle to protocol details.
Steps to reproduce
You can easily recreate this issue by adding a function for
module_debugintodummy.c.The other way you can recreate this bug is by adding
spd_pthread_createinto one of the skeleton0_ modules.Obtained behavior
multiple definition errors when linking.
Expected behavior
As
spd_pthread_createis a common function it should work in all locations.spd_pthread_create is necessary to create new threads that play nice with the existing module_loop. module_* functions are need to handle to protocol details.