• Guido Trotter's avatar
    Processor: acquire the BGL for LUs requiring it · 04864530
    Guido Trotter authored
    If a LU required the BGL (all LUs do, right now, by default) we'll
    acquire it in the Processor before starting them. For LUs that don't
    we'll still acquire it, but in a shared fashion, so that they cannot run
    together with LUs that do.
    We'll also note down whether we own the BGL exclusively, and if we don't
    and we try to chain a LU that does, we'll fail.
    More work will need to be done, of course, to convert LUs not to require
    the BGL, but this basic infrastructure should guarantee the coexistance
    of the old and new world for the time being.
    Reviewed-by: iustinp
mcpu.py 11.1 KB