Simon wrote:

> Mason wrote:
> 
>> I'm using OS21 (STMicro) and I've decided to use a mutex.
>>
>> Is it correct that, in my case, I can ignore the sys_prot_t arguments?
> 
> Yes, mapping sys_arch_protect/unprotect to mutex_lock/unlock is correct.

And when mapping to a mutex, may one ignore

1) the return value of sys_arch_protect
2) the pval parameter of sys_arch_unprotect

_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to