nanojpeg: deleting result sets after handling them is not racy
Deleting result sets after retrieving them from the "done" queue is /not/ racy. This obviously was a misinterpretation of crashes with other campaigns. git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1861 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -300,7 +300,7 @@ bool NanoJPEGCampaign::run()
|
||||
res->msg.timeout(), res->msg.injection_ip(),
|
||||
bitmask, prev_singleres->resulttype(), prev_singleres->latest_ip(),
|
||||
prev_singleres->psnr(), prev_singleres->details().c_str());
|
||||
//delete res; // currently racy if jobs are reassigned
|
||||
delete res;
|
||||
}
|
||||
|
||||
finalize_results();
|
||||
|
||||
Reference in New Issue
Block a user