Java Beginners

Moderators: zibadian
Number of threads: 1233
Number of posts: 2675

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
multithreading Posted by anchal123 on 20 Jan 2007 at 9:55 AM
hello every1..m new in JAVA..I wanna ask..1->when we make threads then time given to a particular thread depends upon the operating system or not...2->n DOS is not multitasking os..so can we run multithreading java programs on DOS or not
Report
Re: multithreading Posted by zibadian on 20 Jan 2007 at 11:55 AM
: hello every1..m new in JAVA..I wanna ask..1->when we make threads then time given to a particular thread depends upon the operating system or not...2->n DOS is not multitasking os..so can we run multithreading java programs on DOS or not
:
It depends on the JVM. The JVM might support multithreading, while itself isn't multithreaded.
Report
Re: multithreading Posted by anchal123 on 23 Jan 2007 at 6:57 AM
: : hello every1..m new in JAVA..I wanna ask..1->when we make threads then time given to a particular thread depends upon the operating system or not...2->n DOS is not multitasking os..so can we run multithreading java programs on DOS or not
: :
: It depends on the JVM. The JVM might support multithreading, while itself isn't multithreaded.
:
so wat about the time given to a thread..i want to ask..whether the time given to a thread depends upon cpu scheduling algorithm or on JVM
Report
Re: multithreading Posted by zibadian on 23 Jan 2007 at 12:24 PM
: : : hello every1..m new in JAVA..I wanna ask..1->when we make threads then time given to a particular thread depends upon the operating system or not...2->n DOS is not multitasking os..so can we run multithreading java programs on DOS or not
: : :
: : It depends on the JVM. The JVM might support multithreading, while itself isn't multithreaded.
: :
: so wat about the time given to a thread..i want to ask..whether the time given to a thread depends upon cpu scheduling algorithm or on JVM
:
If the JVM handles the multithreading, then the JVM will also handle the scheduling, otherwise the OS. The CPU never handles the scheduling, because the CPU only works in individual assembly statements and multithreading is on a much higher level.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.