Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
55 user(s) are online (41 user(s) are browsing Forums)

Members: 1
Guests: 54

beworld, more...

Support us!

Headlines

Report message:*
 

Re: Memory protection and tasks/processes

Subject: Re: Memory protection and tasks/processes
by Hans on 2007/9/15 16:53:41

@Belxjander

Quote:

Belxjander wrote:
@Hans
tasks/processes/threads/ does it really matter...
other OS may allow threads to occupy the same memory space,
but we are not those other OS, why not take the path of
every seperate thread of execution as being an own task whether
able to be an AmigaDOS extended process or not?


Forget the separate memory spaces. That's not the issue. The reason for wanting to share memory between threads within the same process is to simplify inter-thread communication. I'd like to prevent other applications from screwing with memory belonging to my app, but still allow free (but mutex protected) sharing of data between threads within my application. This doesn't require separate memory spaces as Amiga OS is a single memory space OS. It would require a concept of child-tasks (and possibly a new memory protection classification).

Hans

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project