for your 1 bit pleasure!

All times are UTC

Post new topic Reply to topic  [ 32 posts ]  Go to page Previous  1, 2, 3
Author Message
PostPosted: Sat 30 May, 2009 2:43 am 
New Member

Joined: Fri 01 Feb, 2008 9:56 pm
Posts: 3
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).

Reply with quote  
PostPosted: Sun 31 May, 2009 7:12 pm 
Calc King
User avatar

Joined: Sun 23 Jan, 2005 12:37 am
Posts: 1729
Location: Netherlands
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 ;)

_________________ - The Calculator Link Alternative Protocol - Make your life easier, leave the coding to the API - The calc lover's OS

Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 32 posts ]  Go to page Previous  1, 2, 3

All times are UTC

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB ® Forum Software © phpBB Group | DVGFX2 by: Matt