Int 15/AH=02h

lup.gif ldown.gif Interrups Categories Contents

rbline.gif

MultiDOS Plus - RELEASE RESOURCE SEMAPHORE

AH = 02h
AL = semaphore number (00h-3Fh)

Return:
AH = status 00h successful 01h not semaphore owner 02h invalid semaphore number

Notes: If any tasks are waiting for the semaphore, the first task on the wait queue will become the new owner and be reawakened. Do not use within an interrupt handler

See Also: AH=01h"MultiDOS" - AH=10h"MultiDOS" - AH=1Ch"MultiDOS"

Category: DOS-Based Task Switchers/Multitaskers - Int 15h - M

rbline.gif

lup.gif ldown.gif Interrups Categories Contents