[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Wait Queues
Dinesh Ahuja wrote:
> I understood that sleep call using sys_nanosleep system call but why
> doe we need to have memory mapping
Shared libraries are loaded into your address address using mmap().
Even a 5-line program that just calls sleep() uses the shared libraries.
--
Francis Litterio
franl <at> world . std . com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/