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]

Re: (Q) what is __lock_close() ? can I leave it empty?


W dniu 2013-04-03 18:01, Min Lee pisze:
thanks for reply, Freddie..
I don't know about "dynamic" locks.. also I don't see any lock_open
things..
thank you anyway..

Take a look at newlib\libc\sys\linux\sys\lock.h - these are defines of these locks for Linux. This is the only place which actualy defines these lock functions. I guess that close() is only for cases where __lock_init() actually allocates some resources (these should be treated as "open"). If that's not the case then __lock_close() can probably be left empty.

Regards,
FCh


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