Re: Re: implementing the process abstraction in movitz
Muli Ben-Yehuda <[email protected]> Wed, 24 Nov 2004 22:23:22 +0200
| Newsgroups | gmane.lisp.movitz.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Nov 23, 2004 at 02:39:38PM +0100, Frode Vatvedt Fjeld wrote: > I think if your goal really is linux emulation, then you really need > to set up an address-space with paging etc. Make a (defclass > linux-process ..) that plays abuot the same role as the linux "proc" > structure (or something like that, I don't really remember its > name..), struct task_struct > and your fork must essentially do the same as linux fork > does. Although I'd model it in terms of some initialization method on > linux-process, where fork initializes an instance as a copy of another > process. I'd start off by making some accessors to the paging > hardware, and build on that. sounds like the way to go, regardless of how I end up implementing it. > > Could you elaborate on what you have in mind? I wouldn't want to > > duplicate effort. > > I don't think you need to worry much about that. What I have in mind > is just some simple form of threads running in more or less the same > context as everything else. Ok, I'll keep my eyes open on the commits mailing list. Thanks. Cheers, Muli -- Muli Ben-Yehuda http://www.mulix.org | http://mulix.livejournal.com/
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFBpO26KRs727/VN8sRAlOeAJ9zyLvxIirvy4ycRClWB9Rx9YsTAgCglU+r tmqiP284VRwe1qLiRgA3ufI= =PlCJ -----END PGP SIGNATURE-----