mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: asdfd esadd <retu834@yahoo.com>
To: Kenn Humborg <kenn@linux.ie>
Cc: Valdis.Kletnieks@vt.edu, linux-kernel@vger.kernel.org
Subject: Re: 2.7 thoughts: common well-architected object model
Date: Sat, 11 Oct 2003 11:34:05 -0700 (PDT)	[thread overview]
Message-ID: <20031011183405.38980.qmail@web13007.mail.yahoo.com> (raw)
In-Reply-To: <20031011175744.GA15610@excalibur.research.wombat.ie>

There is a connex, fork() might be a bad example,

it's simple - yes but 20 years have passed as Solaris
is finding:

pid_t fork(void); vs. 

the next step in the evolution CreateProcess

BOOL CreateProcess(
  LPCTSTR lpApplicationName,
  LPTSTR lpCommandLine,
  LPSECURITY_ATTRIBUTES lpProcessAttributes,
  LPSECURITY_ATTRIBUTES lpThreadAttributes,
  BOOL bInheritHandles,
  DWORD dwCreationFlags,
  LPVOID lpEnvironment,
  LPCTSTR lpCurrentDirectory,
  LPSTARTUPINFO lpStartupInfo,
  LPPROCESS_INFORMATION lpProcessInformation

evolved to .Net Process Class

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         System.Diagnostics.Process
[C#]
public class Process : Component
[C++]
public __gc class Process : public Component


with a full list of members mapping to the overall
model per se (link to hell, but they've got a point) 

http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemdiagnosticsprocessmemberstopic.asp


So let me restate the need again for a:

* unified well architected core component model
which is extensible from OS services to application
objects

* the object model should be defined from the kernel
layer for process/events/devices etc. up and not
started at the application layer



--- Kenn Humborg <kenn@linux.ie> wrote:
> On Sat, Oct 11, 2003 at 09:06:21AM -0700, asdfd
> esadd wrote:
> > 
> > the other OS has an at this stage highly
> consistent
> > object model user along the lines of COM+ from the
> > kernel up encompassing a single event, thread etc.
> > model. Things are quite consistently wrapped, user
> > mode exposed if needed etc. If people were to
> fully
> > draw on it and the simpler .net BCL and not ride
> win32
> > that would (will be) a killer.  
> 
> I'm a Win32 developer by day, and I'm pretty
> familiar with
> the innards of COM.  But I can't think of a _single_
> instance
> of anything in COM or COM+ which is dependent on the
> kernel,
> or which lives on the kernel-side of the
> kernel-mode/usr-mode
> boundary.
> 
> COM and COM+ (and even .NET) are user-mode libraries
> and
> conventions.
> 
> The closest thing _inside_ the WinNT/2K/XP kernel to
> your
> "object model" is the hierarchical directory of
> refcounted
> and ACLed objects inside the kernel (which is
> basically sysfs
> with ACLs).
> 
> Can you give me _one_ example of a "consistent
> object model"
> between kernel and user mode in Windows?  Maybe then
> we'll
> have a better understanding of what you're really
> looking
> for.
> 
> Later,
> Kenn
> 
> 
> -
> 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/


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

  reply	other threads:[~2003-10-11 18:34 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-11  4:45 asdfd esadd
2003-10-11 14:30 ` Valdis.Kletnieks
2003-10-11 16:06   ` asdfd esadd
2003-10-11 16:48     ` Valdis.Kletnieks
2003-10-11 17:13       ` asdfd esadd
2003-10-11 17:38         ` Valdis.Kletnieks
2003-10-11 17:56           ` asdfd esadd
2003-10-11 18:20             ` Mark Hahn
2003-10-11 18:13       ` Zwane Mwaikambo
2003-10-11 23:33         ` J.A. Magallon
2003-10-11 17:00     ` Scott Robert Ladd
2003-10-11 17:57     ` Kenn Humborg
2003-10-11 18:34       ` asdfd esadd [this message]
2003-10-11 18:46         ` Valdis.Kletnieks
2003-10-11 19:01         ` Kenn Humborg
2003-10-11 19:11           ` retu
2003-10-11 19:25           ` viro
2003-10-12 11:59         ` Jamie Lokier
2003-10-12 16:04           ` retu
2003-10-12 16:44             ` Valdis.Kletnieks
2003-10-12 16:51               ` retu
2003-10-12 17:50                 ` viro
2003-10-12 21:52             ` Jamie Lokier
2003-10-12 20:21         ` Rik van Riel
2003-10-13 20:21         ` James Antill
2003-10-14  5:01           ` retu
2003-10-14  6:00             ` Nick Piggin
2003-10-14  5:31           ` retu
2003-10-14  6:05             ` Tim Hockin
2003-10-14  6:46             ` viro
     [not found] <Ft4B.3ML.3@gated-at.bofh.it>
     [not found] ` <FutO.5TB.29@gated-at.bofh.it>
2003-10-11 17:03   ` Ihar 'Philips' Filipau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031011183405.38980.qmail@web13007.mail.yahoo.com \
    --to=retu834@yahoo.com \
    --cc=Valdis.Kletnieks@vt.edu \
    --cc=kenn@linux.ie \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®