Hello,
Long msg but I hoped all the writing would make it
simple.
I have been using v1 of RTL for a while and have just
recently converted to v2.2
I am having problems with making a thread work w/o
killing my pc. I am working in an emulation lab of 32
PCs which are used to test some network protocols.
I use a thread to call a tx function to transmit a pkt
10 times (testing round trip time). The fundamentals
of the code works as I can do simple operations
successfully within the body of the thread and it does
execute 10 times and then stop.
But this is with one key function call commented out:
Within the body I make a call to a function
(eeDriver-tx) which builds a socket buffer object and
transmits it by calling hard_start_xmit. eeDriver_tx
is a function in a module I wrote to interface RTLinux
with the driver eepro100.c (driver which we have
modified so pkts which are received are passed to our
rtlinux modules). The problem isn't with these
functions (I think/hope) as everything worked with v1.
At first I thought the stack size wasn't big enough as
the default is 3000 and in v1 I was using 4096. But
after increasing, it still fails.
I'm not an expert on the implementation of the RTLinux
functions (pthread_create and all the rest) so I am
somewhat lost on what may be the cause of the problem.
Any help would be greatly appreciated.
Again sorry for the long msg.
Jason
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
-- [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/~rtlinux/