Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | const {cx_root} = await import("./cx_root.clas.mjs"); // kernel_lock.clas.abap class kernel_lock { static INTERNAL_TYPE = 'CLAS'; static INTERNAL_NAME = 'KERNEL_LOCK'; static IMPLEMENTED_INTERFACES = []; static ATTRIBUTES = {}; static METHODS = {"ENQUEUE": {"visibility": "U", "parameters": {"INPUT": {"type": () => {return new abap.types.Character(4);}, "is_optional": " "}}}, "DEQUEUE": {"visibility": "U", "parameters": {"INPUT": {"type": () => {return new abap.types.Character(4);}, "is_optional": " "}}}}; constructor() { this.me = new abap.types.ABAPObject(); this.me.set(this); this.INTERNAL_ID = abap.internalIdCounter++; this.FRIENDS_ACCESS_INSTANCE = { }; } async constructor_(INPUT) { if (super.constructor_) { await super.constructor_(INPUT); } return this; } async enqueue(INPUT) { return kernel_lock.enqueue(INPUT); } static async enqueue(INPUT) { let input = INPUT?.input; abap.builtin.sy.get().subrc.set(abap.IntegerFactory.get(0)); abap.builtin.sy.get().subrc.set(0); } async dequeue(INPUT) { return kernel_lock.dequeue(INPUT); } static async dequeue(INPUT) { let input = INPUT?.input; abap.builtin.sy.get().subrc.set(abap.IntegerFactory.get(0)); } } abap.Classes['KERNEL_LOCK'] = kernel_lock; export {kernel_lock}; |