On 26 June 2015 at 06:56, <mariano.lo...@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
-- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core