Searched refs:watcherHandle (Results 1 - 7 of 7) sorted by relevance
/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() 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() 63 LE_StartWatcher(const LoopHandle loopHandle, WatcherHandle *watcherHandle, const LE_WatchInfo *info, const void *context) LE_StartWatcher() argument
|
/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);
|
/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 void *context) 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()
|
/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);
|
/base/startup/appspawn/standard/ |
H A D | appspawn_appmgr.c | 286 property->forkCtx.watcherHandle = NULL; in CreateAppSpawningCtx() 316 if (property->forkCtx.watcherHandle) { in DeleteAppSpawningCtx() 317 LE_RemoveWatcher(LE_GetDefaultLoop(), property->forkCtx.watcherHandle); in DeleteAppSpawningCtx() 318 property->forkCtx.watcherHandle = NULL; in DeleteAppSpawningCtx()
|
H A D | appspawn_manager.h | 70 WatcherHandle watcherHandle; member
|
H A D | appspawn_service.c | 639 LE_STATUS status = LE_StartWatcher(LE_GetDefaultLoop(), &property->forkCtx.watcherHandle, &watchInfo, property); in AddChildWatcher() 651 LE_RemoveWatcher(LE_GetDefaultLoop(), property->forkCtx.watcherHandle); in AddChildWatcher() 652 property->forkCtx.watcherHandle = NULL; in AddChildWatcher() 996 property->forkCtx.watcherHandle = NULL; // delete watcher in ProcessChildResponse()
|
Completed in 6 milliseconds