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
  • 329
  • 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 EE7
    Written by: Andrew Lee Rubinger
    Featured Refcardz: Top Refcardz:
    1. Design Patterns
    2. OO JS
    3. Cont. Delivery
    4. CI Patterns
    5. CI Tools
    1. Spring Integration
    2. Git
    3. Regex
    4. Java
    5. REST