Re: Appendix: multithreating HOWTO ? :)

"[email protected]" <[email protected]> Sun, 23 Aug 2009 14:02:33 -0700
Newsgroups org.kernel.vger.linux-assembly
Message-ID <[email protected]>
On Sunday 23 August 2009 09:17:59 £ukasz wrote:
> thanks for answer, im experiment with system clone ( actualy fork i found
> in many manuals ) but i dont understand Frakns last sentence "Well, they
> *told* us not to do it that way. :)", to program multiproceses with fork ?
> Any way is there any way to make share memory for proceses ?i

There are several ways to do shared memory.  If using a "fork"
the asmlib functions:
  shared_open
  shared_attach
  shared_close
provide some example code.
see http://linuxasmtools.net  download asmlib and look memory funcitons.
all the best, jeff
--
To unsubscribe from this list: send the line "unsubscribe linux-assembly" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html