[Staff] [Ideas] Primitive Multithreading

Here you can find side projects of the staff and great projects which we think should get extra support. (Note that featured projects are not projects by staff members of MaxCoderz)

Moderator: MaxCoderz Staff

New Member
Posts: 3
Joined: Fri 01 Feb, 2008 9:56 pm

Re: [Staff] [Ideas] Primitive Multithreading

Post by tari »

As long as nobody minds terribly, I'm going to take a moment to plug my own project and ponder the possiblity of threading it.

I'm sure some of you have seen LIFOS at some point. In short, I seem to have a nice dynamic memory allocation scheme in the works.
The bonus here is that it could easily be extended to allocate stack segments for threads- programs can specify the amount of safe RAM they need at launch time, which is allocated accordingly. The loader then goes through, finding any references to this 'Data Segment', and modifying the references so they point to the newly allocated memory. It would be trivial to add support for allocating a stack segment at runtime.

The use of this? No worries about programs screwing with saferam for other threads, and the threading implementation is a facet of IM 1, saving memory (for the LUT) and just simplifying the programmer's effort (yes, it's incredibly difficult to call Multithread.Init).
User avatar
Calc King
Posts: 1729
Joined: Sun 23 Jan, 2005 12:37 am
Location: Netherlands

Re: [Staff] [Ideas] Primitive Multithreading

Post by Timendus »

Are you writing an OS, or do I understand your blog the wrong way?
If so, do you know about Vera? I suppose you do, just thought I'd mention it ;)
http://clap.timendus.com/ - The Calculator Link Alternative Protocol
http://api.timendus.com/ - Make your life easier, leave the coding to the API
http://vera.timendus.com/ - The calc lover's OS
Post Reply