mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Naming: Fix up naming of ChildProcessCoordinator and ChildProcessWorker
This commit is contained in:
parent
6ae1137d91
commit
b72b155443
13 changed files with 194 additions and 146 deletions
|
|
@ -71,7 +71,7 @@ public:
|
|||
stream.writeString (format.getName());
|
||||
stream.writeString (fileOrIdentifier);
|
||||
|
||||
if (superprocess->sendMessageToSlave (block))
|
||||
if (superprocess->sendMessageToWorker (block))
|
||||
{
|
||||
std::unique_lock<std::mutex> lock (mutex);
|
||||
gotResponse = false;
|
||||
|
|
@ -123,17 +123,19 @@ public:
|
|||
}
|
||||
|
||||
private:
|
||||
class Superprocess : public ChildProcessMaster
|
||||
class Superprocess : private ChildProcessCoordinator
|
||||
{
|
||||
public:
|
||||
explicit Superprocess (CustomPluginScanner& o)
|
||||
: owner (o)
|
||||
{
|
||||
launchSlaveProcess (File::getSpecialLocation (File::currentExecutableFile), processUID, 0, 0);
|
||||
launchWorkerProcess (File::getSpecialLocation (File::currentExecutableFile), processUID, 0, 0);
|
||||
}
|
||||
|
||||
using ChildProcessCoordinator::sendMessageToWorker;
|
||||
|
||||
private:
|
||||
void handleMessageFromSlave (const MemoryBlock& mb) override
|
||||
void handleMessageFromWorker (const MemoryBlock& mb) override
|
||||
{
|
||||
auto xml = parseXML (mb.toString());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue