On May 26,  3:05pm, charles.cui1...@gmail.com (Charles Cui) wrote:
-- Subject: Re: pthread library related

| This is really helpful, actually, I searched _SC_TIMER_MAX and
| _POSIX_TIMER_MAX in nxr,
| but the results cannot indicate where these logics can be found.
| One more question, does other _SC_<MISS_MACRO> has the same naming
| convention
| in the kernel? I mean can I always search MISS_MICRO to find the logic for
| this variable?

I wish, but it is something to try. What I do instead look in the kernel
for the function that needs to enforce the limit. for example, sem_open
src/lib/librt/sem.c -> _ksem_open -> src/sys/kern/uipc_sem.c...

christos

Reply via email to