Kamal R. Prasad wrote:

--- Lucas Holt <[EMAIL PROTECTED]> wrote:



Wouldn't a multi threaded program potentially need
more cpu time than vi?



No. That is not a given.



Multithreaded apps are created to do a lot of
computation or because they have a lot of concurrent activity that
might block right?




Threads are meant to take advantage of concurrency. Maybe the freebsd implementation should implement NPTL
in entirety.


NPTL?
New Pthreads Library from Library?
isn't that GPL'd?



On Mar 1, 2005, at 2:49 PM, Julian Elischer wrote:


If you make 1000 threads, you get 1000 slots on


the scheduler. (last

time I looked..
Let me know if I'm wrong).



depends on whether it is defined to execute in system
scope or not.


I presume you have looked at it recently then..

I have not looked at the linux scheduler in a while..

how do they stop 100o threads from getting 1000 shots at the scheduler?

regards
-kamal


=====
------------------------------------------------------------
Kamal R. Prasad
UNIX systems consultant [EMAIL PROTECTED]


In theory, there is no difference between theory and practice. In practice, 
there is:-).
------------------------------------------------------------

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to