~pythoneers/ubuntu/lucid/python2.6/ltsppa

« back to all changes in this revision

Viewing changes to Doc/library/thread.rst

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2010-03-11 13:30:19 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20100311133019-sonignhpjsu6ld0x
Tags: 2.6.5~rc2-0ubuntu1
Python 2.6.5 release candidate 2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
156
156
  module is available, interrupts always go to the main thread.)
157
157
 
158
158
* Calling :func:`sys.exit` or raising the :exc:`SystemExit` exception is
159
 
  equivalent to calling :func:`exit`.
 
159
  equivalent to calling :func:`thread.exit`.
160
160
 
161
161
* Not all built-in functions that may block waiting for I/O allow other threads
162
162
  to run.  (The most popular ones (:func:`time.sleep`, :meth:`file.read`,