Int 15/AH=02h

Prev Next Ralf Interrups Categories Contents

------

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

------

Prev Next Ralf Interrups Categories Contents