No library calls are being made in RTLinux, per se. In fact, such a thing
would be quite difficult to do from kernel space. You'd basically have to
mimic the entire system call interface in kernel space, and probably do
other magic just to be able to statically link a library in to a kernel
extension. Yikes!
No, what actually happens is that RTLinux has a clean, and quite standard,
pthread interface to make the difficult task of writing multi-threaded
kernel modules somewhat easier and more manageable for people not used to
kernel programming. The result is that you get those pthread_* functions
in kernel space, but that is just an interface. What happens under the
hood has nothing to do with user-space libraries.
-Calin
On Thu, 13 Sep 2001, A V wrote:
> hi everybody,
>
> I have some doubt about library calls. I read in OS
> concepts that kernel space program should not make
> references to user space processes. Am i right ?
> In RTLniux, every realtime module runs in Kernel
> space. And we are making library calls to create
> threads which runs in User space. but according to OS
> concepts process running in Kernel space should not
> refer User space..
> Please clarify my doubt..
>
> Regards
> Venkat
>
>
>
> __________________________________________________
> Terrorist Attacks on U.S. - How can you help?
> Donate cash, emergency relief information
> http://dailynews.yahoo.com/fc/US/Emergency_Information/
>
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> --
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/
>
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/