[apparmor] [PATCH] parser: add basic support for parallel compiles and loads
Seth Arnold
seth.arnold at canonical.com
Sat Nov 21 01:19:12 UTC 2015
On Fri, Nov 20, 2015 at 04:35:20PM -0800, John Johansen wrote:
> Do you really think, this 1 little condition tucked away is that much more
> maintenance? The way it is set up, it is completely transparent to the
> rest of the code. That is we can delete it and the rest of the code doesn't
> need to change.
Well, if you feel strongly enough that we should keep it, how about
adding a comment near work_sync_one() that it shouldn't be used directly?
work_sync() knows how to avoid the case I'm worried about.
> > I think we ought to avoid C++ exceptions entirely.
> >
> I'm not so convinced, especially since we are already using C++ exceptions
> else where, but I'll stick with what we have for now
Oh. That does make it less clear.
> hrmm I think I would prefer a
> if (jobs_max < 1)
> error ....
Good idea.
Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20151120/340f5ceb/attachment.pgp>
More information about the AppArmor
mailing list