]> granicus.if.org Git - python/commit
Document the results of painful reverse-engineering of the "portable TLS"
authorTim Peters <tim.peters@gmail.com>
Sat, 9 Oct 2004 22:33:09 +0000 (22:33 +0000)
committerTim Peters <tim.peters@gmail.com>
Sat, 9 Oct 2004 22:33:09 +0000 (22:33 +0000)
commitfda787fcec40a7ff9c4a92ba73091d22bcc8f857
tree32983eb860caa183077f1c28713516565f7b54fa
parentf267b623f3634d8ef246de55970132d28854b22f
Document the results of painful reverse-engineering of the "portable TLS"
code.

PyThread_set_key_value():  It's clear that this code assumes the passed-in
value isn't NULL, so document that it must not be, and assert that it
isn't.  It remains unclear whether existing callers want the odd semantics
actually implemented by this function.
Python/thread.c