I was thinking about NodeJS today, and this attitude to blocking, it made me wonder if the code block is purely non-blocking, say, calculating some real long alogirthm and variables are all present on the stack, etc. should this be clicked on a single core without a hyperthread on the processor, since the windows task manager defines it 100%, since it seeks to complete this task as quickly as possible? Say this is usually a calculation, which can take several minutes.
user53791
source
share