from process.PCB import PCB


class PCBCreator :

    def __init__(self):
        self._currentID = 0

    def create_pcb(self, amount_instructions, program, m_policy):
        pcb = PCB(self._currentID, amount_instructions, m_policy)
        self._currentID += 1
        return pcb