Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
    Bookmark Topic Watch Topic
  • New Topic

why does this fail  RSS feed

 
Andrew Cane
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Report post to moderator
I don't know if this is the right place to ask questions regarding articles in this book. I'm pretty new in concurrency and am struggling to understand even the first chapters of this book.



what could've gone wrong here? the book put this code as "might fail" category. can't see why it'd fail. could anybody shed some light in this issue?



could anybody show me where the escaped "this" reference as mentioned in the book? thanks

thanks
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37180
515
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
(this book is "Java Concurrency in Practice" - I had split the post out from the review)
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37180
515
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
And now I see this is a duplicate. Closing this copy.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!