FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/gpf/osl/os_evt.c @ 368:43ca9d5e30cb
os_evt.c: os_EventGroupInformation(): more bogosity
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Thu, 29 May 2014 05:26:42 +0000 |
parents | c72feb362ef1 |
children |
comparison
equal
deleted
inserted
replaced
367:c72feb362ef1 | 368:43ca9d5e30cb |
---|---|
59 return(OS_ERROR); | 59 return(OS_ERROR); |
60 } | 60 } |
61 *evt_grp_handle = idx; | 61 *evt_grp_handle = idx; |
62 return(OS_OK); | 62 return(OS_OK); |
63 } | 63 } |
64 | |
65 GLOBAL LONG | |
66 os_EventGroupInformation(OS_HANDLE evt_grp_handle, char *Name, | |
67 unsigned *mask_evt, unsigned *tasks_waiting, | |
68 OS_HANDLE *first_task) | |
69 { | |
70 if (!EvtGrpTable[evt_grp_handle].Name[0]) | |
71 return(OS_ERROR); | |
72 if (NU_Event_Group_Information(&EvtGrpTable[evt_grp_handle].EvtGrp, | |
73 Name, mask_evt, tasks_waiting, | |
74 first_task) == NU_SUCCESS) | |
75 return(OS_OK); | |
76 else | |
77 return(OS_ERROR); | |
78 } |