This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

lock - prototype


Hi,

I have a lot questions on the lock :

* What is the prototype of all functions in <sys/lock.h> ?
* The definition of __LOCK_INIT, it take 2 arguments. The first is
class. Why, it's not used ?
* In the definition of _LOCK_T, it's the type of a lock. A maner to use
a lock is : while (lock == 0);. Or, the lock must be declared as
"volatile".

regards,
 Mathieu



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]