Re: forget coorporative multitasking in .NET ?
From: Nick Malik [Microsoft] (nickmalik_at_hotmail.nospam.com)
Date: 01/03/05
- Next message: davidpendry_at_europe.com: "COM wrapper around a asp.net business Logic DLL Problem"
- Previous message: Sahil Malik: "Re: SQL Server Float and Real datatypes"
- In reply to: Frans Bouma [C# MVP]: "Re: forget coorporative multitasking in .NET ?"
- Next in thread: Frans Bouma [C# MVP]: "Re: forget coorporative multitasking in .NET ?"
- Reply: Frans Bouma [C# MVP]: "Re: forget coorporative multitasking in .NET ?"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 03 Jan 2005 15:30:06 GMT
Hi Frans,
I do have one small disagreement with your otherwise excellent description.
> We all do have synchronous multitasking code today: simply write a
> routine and call from that routine your other routines. That's
> co-operative multitasking.
I disagree. The way to get cooperative multitasking today is to put code
into a timer event. As far as the programmer is concerned, he or she didn't
make any "threading" calls. Writing a routine that calls other routines is
not multitasking at all. The original routine places items on the stack and
the subroutine is called. There is only one thread.
The entire rest of your message was excellent, BTW.
--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik
Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
- Next message: davidpendry_at_europe.com: "COM wrapper around a asp.net business Logic DLL Problem"
- Previous message: Sahil Malik: "Re: SQL Server Float and Real datatypes"
- In reply to: Frans Bouma [C# MVP]: "Re: forget coorporative multitasking in .NET ?"
- Next in thread: Frans Bouma [C# MVP]: "Re: forget coorporative multitasking in .NET ?"
- Reply: Frans Bouma [C# MVP]: "Re: forget coorporative multitasking in .NET ?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|