>1 If I point to a address 0x434343 in P1 and P2, will it point to the
>same memory area.
>2 If not, I need two processes to use same process area, how to do that
>3 Will linux kernel support threading
> Actually I first thought about shared memory.
But
>for my application, I need huge memory area upto 50MB or more. So 50MB of
>shared memory is no good. So I looking for any other alternatives
>
> by
> Blesson
1: P1 and P2 have different physical areas of memory. This is how
protection works.
2: Why do they need to share the same memory? You can have your second
process
communicate with your first process through IPC.
3: Linux supports threading if you include the thread library, and use the
appropriate
threading process calls.
Another thing you can do is have a common space on the hard drive. It's not
as fast as RAM,
but it's one solution.
-- Ted
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/