Reputation: 3696
So i was reading "CLR via C#" and found this line "A thread is a Windows concept whose job is to virtualize the CPU". Really? Was single\multi thread originally from Windows?
Googling for justification did not help and hence seeking help from the community.
Upvotes: 9
Views: 327
Reputation: 8252
I would say that that when we talk about "threading" on Windows there is a certain assumption about shared memory and implementation. I actually never heard the term "thread" until I moved to Windows programming (as opposed to embedded programming). I was more familiar with multiprocessing and multitasking. So the concept wasn't unique but the terminilogy may have changed. I would point out in my experience prior to Windows, multiple processes did NOT share memory unless it was global.
Upvotes: 2
Reputation: 39250
I believe that Amiga already had multithreading. Could it be that the text refers to that multithreading is (also) a Windows concept but not that it's (originally) a Windows invention?
Upvotes: 1
Reputation: 7088
I suppose what the author really meant is that threading as a mechanism is something that is being managed by Windows and not .NET framework.
Upvotes: 10
Reputation: 51186
Short answer: No, it's not solely a Windows concept, and the concept has been around for quite a long time.
Upvotes: 6