Blast from the Past: `TThread` got introduced in Delphi 2
Posted by jpluimers on 2015/01/03
Thanks Nick Hodges for asking, and Uwe Raabe for answering:
Yep! Delphi 2 had TThread while Delphi 1 did not.
It resulted in an interesting thread including topics like cooperative multi-tasking and named pipes under DOS by using Turbo Pascal.
Boy, I remember the \pipe\
days and releasing a time slice by calling INT $28, $15 and $2F combinations like this:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
asm | |
int $28 | |
mov ax, $1000 | |
int $15 { DESQview/TopView give up time slice } | |
mov ax, $1680 | |
int $2F | |
end; |
Note: you can even use INT $2F with AX=$1680 to check if you are running in a DOS x86 VM and other OS checks.
–jeroen
via: Anyone remember which version of Delphi introduced TThread?.
Rick said
You’re an encyclopedia of Delphi knowledge! Do you make millions doing consulting?
jpluimers said
Nope. But I do make a living out of it.
Rick said
Well you’re one of the top active guys out there. If you don’t make millions then I’m out! It’s proof that even at the top level a person doesn’t make big money. Any suggestions on a new career for me?
jpluimers said
Dentist (: