• Post Reply Bookmark Topic Watch Topic
  • New Topic

Query on Multithreading ??  RSS feed

 
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I want to write a multithreading program using syncronized block so that one thread should write odd number and other thread should write even number in a same file and in one line like(1,2,3,4,5,6,7,8,9,10).Can any one please give me some idea how should i start.

Thanks & Regards
Bikash
 
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the "Threads and Synchronization" forum.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!