Re: Package Proposal: PHP::Forking_Thread
| From: | Xavier Noguer | Date: | Fri, 24 Oct 2003 18:41:47 +0000 |
| Subject: | Re: Package Proposal: PHP::Forking_Thread | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-22978@lists.php.net to get a copy of this message | ||
"luca\.mariano\@email\.it" <luca.mariano@email.it> escribió
> > I guess there's no fitting categorie for that, so creating a new
categorie
> > called "Thread" and naming your pack "Thread_Forking" should IMHO be
better.
> >
>
> For me this is OK, but Stephan noticed that this package doesn not do
threading
> at all... It only creates a wrap around pcntl_fork() for simple usage of
this
> extension.
> In fact the API are similar to the java one, but here we're talking about
> separate processes: 10 threads = 10 PIDS = 1 PPID.
> I want to avoid confusion about this fact, so if someone have any better
idea
> for name (banning the Thread keyword...) is appreciated!
Forking_FakeThread, Forking_Thread?
I don't think the Thread word should be "banned". As you said yourself the
API is similar to the one for Java threads, so calling it Thread or
FakeThread gives a good overview of what it can do. Most users will care more
for functionality than implementation.
As long as "Forking" is in the name, and it's implementation is explained in
the docs it should be ok.
Xavier
http://www.xavier-noguer.com/