[OE-core] [PATCH 1/1] report-error.bbclass: Added file syncronization.

Burton, Ross ross.burton at intel.com
Fri Jun 26 15:17:01 UTC 2015


On 26 June 2015 at 06:56, <mariano.lopez at linux.intel.com> wrote:

> errorreport_handler would fail if several errors are
> triggered at the same time because of two proccess
> writting to the same file. This patch add the required
> syncronization to handle concurrent process.
>

The code in the autobuilder that sends error reports doesn't care for the
filenames, just that they're under error-reports/.  Instead of locking
around a single file - which surely will replace errors with lost reports -
just write each report to a unique filename.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150626/5fe141a6/attachment-0002.html>


More information about the Openembedded-core mailing list