lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] sys_arch_protect return value


From: Mason
Subject: Re: [lwip-users] sys_arch_protect return value
Date: Mon, 23 Jan 2012 17:25:51 +0100
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:9.0.1) Gecko/20111221 Firefox/9.0.1 SeaMonkey/2.6.1

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



reply via email to

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