What is the difference of delegator and dispatcher?
What is the difference of delegator and dispatcher?
Synchronous sockets with Node.js
I want to port an existing app from Java to Node.js – would like to seek your advise.
Does immutability entirely eliminate the need for locks in multi-processor programming?
Part 1 Clearly Immutability minimizes the need for locks in multi-processor programming, but does it eliminate that need, or are there instances where immutability alone is not enough? It seems to me that you can only defer processing and encapsulate state so long before most programs have to actually DO something (update a data store, […]
Is there a limit on the number of threads that can be spawned simultaneously?
Yesterday I came across this question: How can i call robocopy within a python script to bulk copy multiple folders?, and I though it might be a good exercise for multithreading.
What is a thread pool?
How would one implement a threadpool? I’ve been reading on wikipedia for “threadpool” but I still can’t figure out what one should do to solve this question (possibly because I didn’t quite understand what a threadpool is in simple terms).
Inter-process and inter-thread data sharing [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for […]
Can you explain why multiple threads need locks on a single-core CPU?
Assume these threads run in single core cpu. As a cpu only run one instruction in one cycle. That is said, even thought they share the cpu resource. but the computer ensure that one time one instruction. So is the lock un-necessary for multiplethreading?
Requiring multithreading/concurrency for implementation of scripting language
Here’s the deal: I’m looking at designing my own scripting/interpreted language for fun. I’m only in the planning stages right now; I want to make sure I have a very strong hold on exactly how I will implement everything before I start coding.
Help me understand a part of Java Language Specification
I’m reading part 17.2.1 of Java language specification: http://docs.oracle.com/javase/specs/jls/se7/html/jls-17.html#jls-17.2.1
Relationship between “Task Parallel Library” and “Task-based Asynchronous Pattern”?
In the context of C#, .NET 4/4.5 used for an application running on a web-server, what is the relationship between “Task Parallel Library” and “Task-based Asynchronous Pattern”?