Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: infra/libs/service_utils/_daemon_darwin.py

Issue 1365583002: Have service_manager start a cloudtail attached to each service it starts. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Just use the default project ID Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Locking, timeout, and other process management functions.""" 5 """Locking, timeout, and other process management functions."""
6 6
7 from ._daemon_nix import ( 7 from ._daemon_nix import (
8 become_daemon, 8 become_daemon,
9 close_all_fds,
9 flock, 10 flock,
10 LockAlreadyLocked, 11 LockAlreadyLocked,
11 ) 12 )
12 13
13 14
14 def add_timeout(cmd, timeout_secs): # pragma: no cover 15 def add_timeout(cmd, timeout_secs): # pragma: no cover
15 # pylint: disable=unused-argument 16 # pylint: disable=unused-argument
16 """Adds a timeout to a command TODO""" 17 """Adds a timeout to a command TODO"""
17 raise NotImplementedError 18 raise NotImplementedError
OLDNEW
« no previous file with comments | « no previous file | infra/libs/service_utils/_daemon_linux.py » ('j') | infra/libs/service_utils/_daemon_nix.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698