GeMRTOS
Data Structures | Functions
sem.h File Reference

GRTOS Semaphore definitions. More...

Go to the source code of this file.

Data Structures

struct  T_SEMAPHORE_RESOURCE
 Semaphore Resource. More...
 

Detailed Description

GRTOS Semaphore definitions.

Author
Ricardo Cayssials

This file contains the Semaphore definitions.

Version
0.9a
Date
2015-2020
Bug:
None known
Warning
This product was produced by Ricardo Cayssials in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
DISCLAIMER OF WARRANTY. THIS PRODUCT IS LICENSED "AS IS." YOU BEAR THE RISK OF USING IT.
RICARDO CAYSSIALS GIVES NO EXPRESS WARRANTIES, GUARANTEES, OR CONDITIONS. TO THE EXTENT PERMITTED UNDER APPLICABLE LAWS, RICARDO CAYSSIALS EXCLUDES ALL IMPLIED WARRANTIES, INCLUDING MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.

Definition in file sem.h.

Function Documentation

◆ gk_SEM_granted_kill()

INT32 gk_SEM_granted_kill ( GS_ECB pevent1)
related

◆ gk_SEM_waiting_kill()

INT32 gk_SEM_waiting_kill ( GS_ECB pevent1)
related

◆ gk_timeout_ECB_SEM_post()

INT32 gk_timeout_ECB_SEM_post ( GS_ECB peventime)
related

◆ gk_timeout_ECB_SEM_wait()

INT32 gk_timeout_ECB_SEM_wait ( GS_ECB peventime)
related

◆ gu_sem_create()

t_semaphore_resource* gu_sem_create ( gt_time  RCB_Priority,
int  initial_count,
gt_time  RCBWaitingTimeout,
gt_time  RCBGrantedTimeout 
)

Semaphore related functions

◆ gu_sem_destroy()

INT32 gu_sem_destroy ( t_semaphore_resource presource)
related

◆ gu_sem_getvalue()

INT32 gu_sem_getvalue ( t_semaphore_resource presource)
related

◆ gu_sem_post()

INT32 gu_sem_post ( t_semaphore_resource presource)
related

◆ gu_sem_wait()

INT32 gu_sem_wait ( t_semaphore_resource presource,
gt_priority  waiting_priority,
gt_priority  RCBGrantedPriority,
gt_time  RCBWaitingTimeout,
gt_time  RCBGrantedTimeout,
int  blocking 
)
related