• Post Reply Bookmark Topic Watch Topic
  • New Topic

Is it something like deadlock. Please

 
farooq ahamad
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I called yield method initially in main thread and child thread will it be block.
 
Henry Wong
author
Sheriff
Posts: 22616
111
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
farooq ahamad wrote:Is it something like deadlock.


I don't see anything in the code that could possibly deadlock. Are you getting behavior that indicates a deadlock?

Henry
 
What are you doing? You are supposed to be reading this 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!