Wednesday 24 July 2019

Green Thread : Not recommended to use

Java multiThreading concept is implementing by using the following 2 methods :
  • GreenThread Model
  • Native OS Model
GreenThread Model
  • The Thread which is managed completely by JVM without taking underlying OS support is called green Thread.
  • Very few OS like sun Solaris provides support for green thread model.
  • Anyway green Thread model is deprecated and not recommended to use.
Native OS Model
  • The Thread which is managed by the JVM with the help of underlying OS, is called Native OS model.
  • All windows based operating systems provides support for native OS model.


Thanks..!!

No comments:

Post a Comment