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

Side by Side Diff: infra/libs/service_utils/_daemon_win32.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 import contextlib 7 import contextlib
8 import ctypes 8 import ctypes
9 import ctypes.wintypes 9 import ctypes.wintypes
10 import os 10 import os
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 try: 85 try:
86 yield 86 yield
87 finally: 87 finally:
88 CloseHandle(handle) 88 CloseHandle(handle)
89 89
90 90
91 def add_timeout(_cmd, _timeout_secs): # pragma: no cover 91 def add_timeout(_cmd, _timeout_secs): # pragma: no cover
92 raise NotImplementedError 92 raise NotImplementedError
93 93
94 94
95 def close_all_fds(_keep_fds): # pragma: no cover
96 raise NotImplementedError
97
98
95 def become_daemon(_keep_fds=None): # pragma: no cover 99 def become_daemon(_keep_fds=None): # pragma: no cover
96 raise NotImplementedError 100 raise NotImplementedError
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698