◄Function Group► ◄Overview► ◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define INCL_DOSSEMAPHORES USHORT DosFSRamSemClear(pdosfsrs) PDOSFSRSEM pdosfsrs; /* pointer to structure for semaphore */ The DosFSRamSemClear function releases ownership of a fast-safe RAM semaphore. Parameter Description ──────────────────────────────────────────────────────────────────────────── pdosfsrs Points to the DOSFSRSEM structure containing the information about a fast-safe RAM semaphore. Return Value The return value is zero if the function is successful. Otherwise, it is an error value. Comments The DosFSRamSemClear function is used to release a semaphore obtained by using the DosFSRamSemRequest function. If the semaphore-use count for the current thread is zero, the semaphore is cleared and any threads that are blocked on the semaphore are restarted. DosFSRamSemClear cannot be issued against a fast-safe RAM semaphore that is owned by another thread. See Also DosFSRamSemRequest, DOSFSRSEM ♦