Searched refs:NANOHUB_LOCK_DIR (Results 1 – 2 of 2) sorted by relevance
42 #define NANOHUB_LOCK_DIR "/data/vendor/sensor/nanohub_lock" macro43 #define NANOHUB_LOCK_FILE NANOHUB_LOCK_DIR "/lock"116 mkdir(NANOHUB_LOCK_DIR, NANOHUB_LOCK_DIR_PERMS); in init_inotify()120 } else if (inotify_add_watch(pfd->fd, NANOHUB_LOCK_DIR, IN_CREATE | IN_DELETE) < 0) { in init_inotify()
55 #define NANOHUB_LOCK_DIR "/data/vendor/sensor/nanohub_lock" macro56 #define NANOHUB_LOCK_FILE NANOHUB_LOCK_DIR "/lock"1788 if (mkdir(NANOHUB_LOCK_DIR, NANOHUB_LOCK_DIR_PERMS) < 0 && errno != EEXIST) { in initNanohubLock()1797 } else if (inotify_add_watch(inotifyFd, NANOHUB_LOCK_DIR, IN_CREATE | IN_DELETE) < 0) { in initNanohubLock()