• Post Reply Bookmark Topic Watch Topic
  • New Topic

Synchronization

 
farooq ahamad
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello i did copy paste please explain me.


 
Ole Sandum
Ranch Hand
Posts: 76
3
IntelliJ IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, you didn't ask a question. What is your doubt regarding this?
 
Campbell Ritchie
Marshal
Posts: 53180
124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's a threed?

And wlecome to the Ranch
 
farooq ahamad
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Sandum,
I created  a single thread MyThread40.Then output is regulr or irregular
 
Campbell Ritchie
Marshal
Posts: 53180
124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please explain what you mean by regular or irregular. Why have you got a class with the confusing name Threed?
 
Henry Wong
author
Sheriff
Posts: 22634
111
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Since we are talking about "output" here -- perhaps, going straight to the possible source of the confusion is better.

To the OP, what output did you get when you ran it? What output did you expect to get when you ran it? and why? If we understood, what the differences are, perhaps, we can help you resolve it.

Henry
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!