Hi all,

I was looking at the implementation of sys_msleep() function in sys.c. As per default in crates a semaphore and then pends on it for the timeout value. Could I redefine this function in sys_arch.c to better suit my RTOS or is there any particular reason for such implementation ?

For example I would implement it as:

void sys_msleep(u32_t ms) {
TSK_Sleep(ms); }

Any thoughts ?

Thanks,
Marko



_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to