Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > subclassing multiprocessing.Process

Reply
Thread Tools

subclassing multiprocessing.Process

 
 
James Mills
Guest
Posts: n/a
 
      01-08-2009
Hey all,

Just a quick clarification on multiprocessing'
Process object. If I were to subclass this, say:

class Foo(Process):

def foo(self):
...

def run(self):
...

Would the parent and child objects
be identical ? That is, would the same
methods of Foo exist in the child ?

Basically I'm trying to create a Process
object, and within that a Pipe to communicate
between the parent and child processes.

cheers
James

--
-- "Problems are solved by method"
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Thread safety when subclassing the Page class thechaosengine ASP .Net 2 12-10-2004 02:48 PM
Subclassing Controls TheStripe ASP .Net 2 09-27-2004 01:17 PM
SubClassing a TextBox Felbrigg ASP .Net 0 04-27-2004 09:05 AM
Subclassing from System.Web.UI.Page - Designer Error =?Utf-8?B?Q2h1Y2sgSGFlYmVybGU=?= ASP .Net 1 02-20-2004 05:05 PM
Subclassing UserControl makes the Visual Studio designer does not work S Guiboud ASP .Net 1 07-18-2003 03:55 PM



Advertisments