Searched refs:watcherHandle (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/base/startup/init/services/loopevent/task/ |
H A D | le_watchtask.c | 64 WatcherHandle *watcherHandle, const LE_WatchInfo *info, const void *context) in LE_StartWatcher() argument 66 …LE_CHECK(loopHandle != NULL && watcherHandle != NULL, return LE_INVALID_PARAM, "Invalid parameters… in LE_StartWatcher() 81 *watcherHandle = (WatcherHandle)task; in LE_StartWatcher() 85 void LE_RemoveWatcher(const LoopHandle loopHandle, const WatcherHandle watcherHandle) in LE_RemoveWatcher() argument 87 LE_CHECK(loopHandle != NULL && watcherHandle != NULL, return, "Invalid parameters"); in LE_RemoveWatcher() 88 LE_CloseTask(loopHandle, watcherHandle); in LE_RemoveWatcher()
|
/ohos5.0/base/startup/init/services/init/ |
H A D | init_service_socket.c | 156 static void ProcessWatchEvent_(const WatcherHandle watcherHandle, int fd, uint32_t *events, const v… in ProcessWatchEvent_() argument 174 RemoveSocketWatcher(watcherHandle); in ProcessWatchEvent_() 180 int AddSocketWatcher(ServiceWatcher *watcherHandle, Service *service, int fd) in AddSocketWatcher() argument 190 *watcherHandle = (ServiceWatcher)handle; in AddSocketWatcher() 194 void RemoveSocketWatcher(ServiceWatcher watcherHandle) in RemoveSocketWatcher() argument 196 LE_RemoveWatcher(LE_GetDefaultLoop(), (WatcherHandle)watcherHandle); in RemoveSocketWatcher()
|
/ohos5.0/base/startup/init/services/init/include/ |
H A D | init_service_socket.h | 78 int AddSocketWatcher(ServiceWatcher *watcherHandle, Service *service, int fd); 79 void RemoveSocketWatcher(ServiceWatcher watcherHandle);
|
/ohos5.0/base/startup/appspawn/standard/ |
H A D | appspawn_appmgr.c | 285 property->forkCtx.watcherHandle = NULL; in CreateAppSpawningCtx() 315 if (property->forkCtx.watcherHandle) { in DeleteAppSpawningCtx() 316 LE_RemoveWatcher(LE_GetDefaultLoop(), property->forkCtx.watcherHandle); in DeleteAppSpawningCtx() 317 property->forkCtx.watcherHandle = NULL; in DeleteAppSpawningCtx()
|
H A D | appspawn_manager.h | 70 WatcherHandle watcherHandle; member
|
H A D | appspawn_service.c | 632 …LE_STATUS status = LE_StartWatcher(LE_GetDefaultLoop(), &property->forkCtx.watcherHandle, &watchIn… in AddChildWatcher() 644 LE_RemoveWatcher(LE_GetDefaultLoop(), property->forkCtx.watcherHandle); in AddChildWatcher() 645 property->forkCtx.watcherHandle = NULL; in AddChildWatcher() 987 property->forkCtx.watcherHandle = NULL; // delete watcher in ProcessChildResponse()
|
/ohos5.0/base/startup/init/interfaces/innerkits/include/ |
H A D | loop_event.h | 186 WatcherHandle *watcherHandle, const LE_WatchInfo *info, const void *context); 187 void LE_RemoveWatcher(const LoopHandle loopHandle, const WatcherHandle watcherHandle);
|