diff options
Diffstat (limited to 'bitbake/lib/bb/server/process.py')
| -rw-r--r-- | bitbake/lib/bb/server/process.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py index b66fbe0acd..a152b44824 100644 --- a/bitbake/lib/bb/server/process.py +++ b/bitbake/lib/bb/server/process.py | |||
| @@ -34,12 +34,11 @@ logger = logging.getLogger('BitBake') | |||
| 34 | class ProcessTimeout(SystemExit): | 34 | class ProcessTimeout(SystemExit): |
| 35 | pass | 35 | pass |
| 36 | 36 | ||
| 37 | class ProcessServer(multiprocessing.Process): | 37 | class ProcessServer(): |
| 38 | profile_filename = "profile.log" | 38 | profile_filename = "profile.log" |
| 39 | profile_processed_filename = "profile.log.processed" | 39 | profile_processed_filename = "profile.log.processed" |
| 40 | 40 | ||
| 41 | def __init__(self, lock, sock, sockname): | 41 | def __init__(self, lock, sock, sockname): |
| 42 | multiprocessing.Process.__init__(self) | ||
| 43 | self.command_channel = False | 42 | self.command_channel = False |
| 44 | self.command_channel_reply = False | 43 | self.command_channel_reply = False |
| 45 | self.quit = False | 44 | self.quit = False |
| @@ -483,7 +482,7 @@ class BitBakeServer(object): | |||
| 483 | print("Started bitbake server pid %d" % os.getpid()) | 482 | print("Started bitbake server pid %d" % os.getpid()) |
| 484 | sys.stdout.flush() | 483 | sys.stdout.flush() |
| 485 | 484 | ||
| 486 | server.start() | 485 | server.run() |
| 487 | 486 | ||
| 488 | def connectProcessServer(sockname, featureset): | 487 | def connectProcessServer(sockname, featureset): |
| 489 | # Connect to socket | 488 | # Connect to socket |
