shared: Begin basic ConcurrentQueue

This commit is contained in:
2022-04-14 14:57:16 +02:00
bovenliggende 478d57b342
commit 56414ee5e2
5 gewijzigde bestanden met toevoegingen van 76 en 8 verwijderingen

Bestand weergeven

@ -37,7 +37,7 @@ void SandboxedProcessor::enableSandbox(QString readablePath)
if(!readablePath.isEmpty())
{
std::string readablePathLocation = readablePath.toStdString();
if(exile_append_path_policy(policy, EXILE_FS_ALLOW_ALL_READ, readablePathLocation.c_str()) != 0)
if(exile_append_path_policies(policy, EXILE_FS_ALLOW_ALL_READ, readablePathLocation.c_str()) != 0)
{
qCritical() << "Failed to add path policies";
exit(EXIT_FAILURE);
@ -102,7 +102,7 @@ int SandboxedProcessor::process()
}
catch(LooqsGeneralException &e)
{
Logger::error() << "Error while processing" << absPath << ":" << e.message << Qt::endl;
Logger::error() << "SandboxedProcessor: Error while processing" << absPath << ":" << e.message << Qt::endl;
return 3 /* PROCESSFAIL */;
}