Link Details

Link 882871 thumbnail
User 225256 avatar

By mswatcher
via mikehadlow.blogspot.co.uk
Published: Nov 27 2012 / 09:25

Consider these (somewhat) common programming challenges: I’m using a third party library that is not thread safe, but I want my application to share work between multiple threads. How do I marshal calls between my multi-threaded code to the single threaded library? I have a single source of events on a single thread, but I want to share the work between a pool of multiple threads? I have multiple threads emitting events, but I want to consume them on a single thread?
  • 3
  • 0
  • 350
  • 252

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (3)



Voters Against This Link (0)



    Java Performance Optimization
    Written by: Pierre-Hugues Charbonneau
    Featured Refcardz: Top Refcardz:
    1. Design Patterns
    2. OO JS
    3. Cont. Delivery
    4. Java EE7
    5. HTML5 Mobile
    1. Node.js
    2. Debugging JavaScript
    3. OO JS
    4. JSON
    5. Ajax