• Post Reply Bookmark Topic Watch Topic
  • New Topic

Threading algorithms are platform independent or Not  RSS feed

 
anjim anjaiah
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Threading algorithms are platform independent or Not explain brifely?
 
Tyson Lindner
Ranch Hand
Posts: 211
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Briefly? I'm sure there are ways to optimize for different platforms, but your java threading code is platform independent.
 
Paweł Baczyński
Bartender
Posts: 2087
44
Firefox Browser IntelliJ IDE Java Linux Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But the way threads are handled is OS-dependant.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What aspect of concurrency are you asking about? The javadocs and the JVM spec have many "must" in them, but also many "should" and "may". So there may be differences between JVMs and between platforms.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!