Multithreading and multitasking: not really so different

http://philosopherdeveloper.com/posts/multithreading-and-multitasking.html

Advertisements

2 thoughts on “Multithreading and multitasking: not really so different

  1. David says:

    Really enjoyed this post. But does the paragraph about “concentrating…is equivalent to locking our most valuable resource” suggest that maybe A.D.D. is a good thing?

    • Daniel says:

      Haha, I didn’t really think about that! But you know, something I didn’t mention in the post is that context switching (at least for a computer) is actually very expensive, so I would view concentration as an efficiency optimization: it allows us to comprehend something more quickly by dedicating our brains to it for a longer-than-average amount of time, avoiding the usual cost of context switching. If A.D.D. had an equivalent in software terms, I think it would be insufficiently low mutex timeouts (another concept I didn’t cover in the post, but I think you can guess its meaning from the word “timeout”).

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: