~pythonregexp2.7/python/issue2636-12

« back to all changes in this revision

Viewing changes to Doc/library/threading.rst

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-06-09 14:52:42 UTC
  • mfrom: (39033.1.3 Regexp-2.6)
  • Revision ID: darklord@timehorse.com-20080609145242-9m268zc6u87rp1vp
Merged in changes from the core Regexp branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 
9
9
This module constructs higher-level threading interfaces on top of the  lower
10
10
level :mod:`thread` module.
11
 
See also the :mod:`mutex` and :mod:`queue` modules.
 
11
See also the :mod:`mutex` and :mod:`Queue` modules.
12
12
 
13
13
The :mod:`dummy_threading` module is provided for situations where
14
14
:mod:`threading` cannot be used because :mod:`thread` is missing.
651
651
   constructor.
652
652
 
653
653
 
 
654
.. method:: Thread.getIdent()
 
655
 
 
656
   Return the 'thread identifier' of this thread or None if the thread has not
 
657
   been started.  This is a nonzero integer.  See the :mod:`thread` module's
 
658
   :func:`get_ident()` function.  Thread identifiers may be recycled when a
 
659
   thread exits and another thread is created.  The identifier is returned
 
660
   even after the thread has exited.
 
661
 
 
662
   .. versionadded:: 2.6
 
663
 
 
664
 
654
665
.. method:: Thread.isAlive()
655
666
 
656
667
   Return whether the thread is alive.