ISIX-RTOS - small operating system for ARM microcontrollers 1.2
|
00001 /* 00002 * multiple_objects.h 00003 * 00004 * Created on: 24-03-2011 00005 * Author: lucck 00006 */ 00007 00008 #ifndef ISIX_MULTIPLE_OBJECTS_H_ 00009 #define ISIX_MULTIPLE_OBJECTS_H_ 00010 /*--------------------------------------------------------------*/ 00011 #ifdef ISIX_CONFIG_USE_MULTIOBJECTS 00012 00013 /*--------------------------------------------------------------*/ 00014 #include <isix/types.h> 00015 #include <isix/semaphore.h> 00016 #include <isix/fifo.h> 00017 #include <isix/ihandle.h> 00018 /*--------------------------------------------------------------*/ 00019 #ifdef __cplusplus 00020 extern "C" { 00021 namespace isix { 00022 #endif /*__cplusplus*/ 00023 00024 /*--------------------------------------------------------------*/ 00039 int isix_wait_for_multiple_objects(size_t count, tick_t timeout, const ihandle_t *hwnd); 00040 00041 /*--------------------------------------------------------------*/ 00042 #ifdef __cplusplus 00043 } //end namespace 00044 } //end extern-C 00045 #endif /* __cplusplus */ 00046 /*--------------------------------------------------------------*/ 00047 #endif /*ISIX_CONFIG_USE_MULTIOBJECTS */ 00048 /*--------------------------------------------------------------*/ 00049 #endif /* MULTIPLE_OBJECTS_H_ */