[Python-Dev] Approach for constructing Global Variables for Python

Nick Coghlan ncoghlan at gmail.com
Fri Jan 14 01:50:42 CET 2011


a) This is somewhat off-topic for this list (it is more suitable to
python-ideas, at best)
b) Defining process global singletons and other heap data structures in C
and C++ programs is hardly a new idea
c) Defining head data structures isn't the hard part, the hard part is
accessing them in a reasonably efficient thread-safe manner.

Given point c), an article on process global variables were the letter
sequence "thread" appears only twice, and the letter sequence "sync" never
appears at all and the letter sequence "lock" appears only inside the word
"block" doesn't inspire much confidence.

Regards,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20110114/70a6daf1/attachment.html>


More information about the Python-Dev mailing list