Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

9
  • 2
    What is your approach? I don't see it listed here. Commented Apr 26, 2015 at 21:39
  • I purposely omitted my approach to not prejudice any answers, but my approach is an extension of that Asynchronous Dispatcher pattern. I posted the question because I am curious to see what people think could be a better implementation. Commented Apr 26, 2015 at 21:42
  • Really the question is "How do I improve upon the Asynchronous Dispatcher pattern?". What is wrong with that approach or your current one? Commented Apr 26, 2015 at 21:45
  • Well, translating the pattern into C is a bit of a grey area because Java obscures the low-level details that would need to be specified with C, so I haven't actually been able to implement the pattern for thorough testing. So, I am asking to see if there might be an easier, still thread-safe, way to implement this. Commented Apr 26, 2015 at 21:52
  • 1
    You want to translate to Java or Javascript? Because the question says Javascript (JS) but you just said Java. Commented Apr 26, 2015 at 22:19