tech-userlevel archive

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

Re: pthread library related



On May 26,  3:05pm, charles.cui1984%gmail.com@localhost (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


Home | Main Index | Thread Index | Old Index