lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] port for lwip


From: ambarisha b
Subject: [lwip-users] port for lwip
Date: Sat, 2 Jul 2011 23:14:58 +0530

Hi,

I am working on a OS independent port for lwip. I have a couple of issues with this.
 
The function declarations for semaphores and mailboxes are different in sys_arch.txt and from lwip/sys.h. For example:

sys_sem_t sys_sem_new(u8_t count);
err_t sys_sem_new(sys_sem_t *sem, u8_t count);

Why is this difference? Am I missing something here?

Another is that sys_mbox_post takes the pointer to the message. But the size of the message isn't passed. If the size of the message is passed in the buffer it self, it hasn't been documented. So, how does this work?

A couple of functions require that time spent waiting, be returned in milliseconds. How accurate should this be? What are the practical limits that you would suggest?


Thanks and regards
Ambarish

reply via email to

[Prev in Thread] Current Thread [Next in Thread]