From 5cee47f321d5c2efd37349cc9e948b59f53e6fbf Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Tue, 11 Jan 2011 19:59:46 +0000 Subject: Add entry for Barrier objects. --- Lib/threading.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Lib/threading.py') diff --git a/Lib/threading.py b/Lib/threading.py index 392ad141de..e29ee40adc 100644 --- a/Lib/threading.py +++ b/Lib/threading.py @@ -17,12 +17,11 @@ from collections import deque # with the multiprocessing module, which doesn't provide the old # Java inspired names. - -# Rename some stuff so "from threading import *" is safe __all__ = ['active_count', 'Condition', 'current_thread', 'enumerate', 'Event', - 'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Thread', + 'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Thread', 'Barrier', 'Timer', 'setprofile', 'settrace', 'local', 'stack_size'] +# Rename some stuff so "from threading import *" is safe _start_new_thread = _thread.start_new_thread _allocate_lock = _thread.allocate_lock _get_ident = _thread.get_ident -- cgit v1.2.1