Re: Multithreading question

Tim Hidalgo <[email protected]>
Newsgroups gmane.linux.real-time.rtlinux.general
Message-ID <[email protected]>
Sorry,
now that im thinking about it more, i think my question was more
directed towards time slicing.  Ive written multi threaded programs
before, but I wasnt quite sure if RTLinux time sliced the same way,
Ive read up some more on threads and RTLinux and from what I gather It
would be quicker to multithread my program since thread creation is
less overhead then processes in general.  I think I was rushing into
the question, what I have is a real time robotics module that was
written without the general philosophy of rtlinux, being, anything
that can be done non real time, should not be done real time
(something to that effect), so Im thinking now that perhaps it would
be more efficient to spawn threads for movement, vision and sensing. 
My next question is , can the sigaction be used with the free rtlinux
or just with pro?

Thanks for the help
Tim


On 27 Oct 2004 04:56:15 -0000, Raseel  Bhagat
<[email protected]> wrote:
>   Hey Tim,
>     To clarify your concepts on RTLinux threads, I think you shuld first thoroughly understand Linux LWP(Light Weight Processes), Processes, Threads.
>    If you clarify those concepts most of your RTLinux queries above will be answered.
> 
> Raseel.
> 
> On Wed, 27 Oct 2004 Tim Hidalgo wrote :
> 
> 
> >Im not quite sure if i am understanding the threading issues with
> >RTLinux.  How are threads exactly executed under RTLinux.  Are threads
> >seperate from processes, or parts of a single process.  If they are
> >seperate then what good would a multithreaded program do without
> >multiple cpus (in order to have multiple threads running at the same
> >time)
> >
> >Thanks for any light shed on this subject
> >Tim
> >_______________________________________________
> >Rtl mailing list
> >[email protected]
> >http://www2.fsmlabs.com/mailman/listinfo/rtl
> 
> 
> Raseel Bhagat
>
_______________________________________________
Rtl mailing list
[email protected]
http://www2.fsmlabs.com/mailman/listinfo/rtl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.