Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Misc > Re: commentary;...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 702 of 806
Post > Topic >>

Re: commentary; freepascal

by "Richard Engebretson" <eng@[EMAIL PROTECTED] > Dec 24, 2006 at 06:05 AM

>  Of particular interest to me is streams multiplexing. Streams
> multiplexing exists in the linux kernel, but only in limited,
> predefined forms; for example, pseudo-terminals. AT&T invented generic
> streams multiplexing in the 1980s anticipating internetworking
> communications. AT&T allowed great flexibility in the design.
>
> Enter freepascal. Looking at the source for the linux unit (sorry, I
> still mostly use fpc 1.0.10), the AssignStream function is a very
> clever, high level unix function. Features like this will make
> reconstructing MGR comprehensible.
>
Looking at the source of fpc1x and the docs of fpc2x, there are
im****tant differences in the unix call "dup." The call "dup2" seems
about the same. Also, the very complex class "TProcess" is being
changed and doesn't work on my linux anyway.

So I went back to deriving the im****tant part of TProcess as an
"Object(TObject)" type, using only the AssignPipe, fork, and dup2
calls. I rename the object tChildProcess_Pipe and use the standard
pascal call "new." It works.

>From this simple start I can build the windows multiplexor. I would not
be able to debug the class tProcess.

I'm not trying to offend anybody. But the extremely advanced level of
fpc2 is a barrier for me.
 




 2 Posts in Topic:
commentary; freepascal
"Richard Engebretson  2006-12-15 01:09:52 
Re: commentary; freepascal
"Richard Engebretson  2006-12-24 06:05:18 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Jul 6 6:01:25 CDT 2008.