En Tue, 19 Aug 2008 15:58:11 -0300, Nils Oliver Kröger <[EMAIL PROTECTED]>
escribi�:
My approach what be to write one class for reading and writing to the
configuration and make that class thread-safe using the RLock.
Then you create one and only one instance of this class and let all your
th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I don't think the global interpreter lock is what you need ... read here
for reference:
http://docs.python.org/api/threads.html
My approach what be to write one class for reading and writing to the
configuration and make that class thread-safe u
I think I need something called global interpreter lock which is accessible
to all the threads. But I am not sure how to implement this.
On Tue, Aug 19, 2008 at 11:28 AM, tarun <[EMAIL PROTECTED]> wrote:
> Hello All,
>
> I've a configuration.ini file. This particular can be accessed by several
On Mon, Aug 18, 2008 at 10:58 PM, tarun <[EMAIL PROTECTED]> wrote:
> Hello All,
>
> I've a configuration.ini file. This particular can be accessed by several
> threads of my application. Each thread can read/write configuration
> parameters from/to the configuration.ini file. I am using threading (
Hello All,
I've a configuration.ini file. This particular can be accessed by several
threads of my application. Each thread can read/write configuration
parameters from/to the configuration.ini file. I am using threading (Rlock)
to lock the resource (configuration.ini file) while accessing it from