On Sun, 25 Oct 2026 17:18:32 -0000 (UTC) cro…@spitfire.i.gajendra.net (Dan Cross) gabbled:
>In article <11bl…@dont-email.me>, <bolt…@caprica.universe> wrote:
>>On Sun, 25 Oct 2026 16:15:21 -0000 (UTC) >>cro…@spitfire.i.gajendra.net (Dan Cross) gabbled:
>>>[snip] >>>Regardless, if you can set the stack pointer, you can build a >>>reasonable cooperative threading library purely in userspace, >>>without the OS caring.
>> >>Oh really? You seem to have forgotten about the program >>counter not to >>mentioning pushing and popping all the other cpu registers >>and flags at context >>switch.
> >One last hint: where do you think those thjngs arw stored? If >you could define what a thread is, maybe you'd have a clue >about how those are handled. :-)
Oh please, try a bit harder. You can do anything you want in ring 0 assembler, that doesn't mean its a good idea.