Approach for constructing Global Variables for Python
Hi All: I would like to propose a solution for a proper use of Global Variables. My assumption came from the fact that most databases are using share memory to construct on the main memory a complete block of their processes and resources. Construction a method for utilizing Global Variable using block concept for common block or sub-block that can be share in any module or main program (i.e. main application and their modules). The solution implemented in the attached paper can ignite this idea and make you elaborate it to make better use of Python. Best regards. -------------------------------------------------------------------------------- Ali Abdelaziz Musa Saudi Telecom Company (Technical Advisor) Mob: (+9665)50570742, Hm:(+9661) 405-9425, Off:(+9661) 452-5539 Email: amusa07@yahoo.com
ali musa
[a large non-text document]
Please don't paste documents here. If you want to share some information with us, please post a plain text message. -- \ “Of all classes the rich are the most noticed and the least | `\ studied.” —John Kenneth Galbraith, _The Age of Uncertainty_, | _o__) 1977 | Ben Finney
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@gmail.com | Brisbane, Australia
On Fri, Jan 14, 2011 at 10:50 AM, Nick Coghlan
c) Defining head data structures isn't the hard part, the hard part is accessing them in a reasonably efficient thread-safe manner.
s/head/heap/ Cheers, Nick. -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia
participants (3)
-
ali musa
-
Ben Finney
-
Nick Coghlan