in reply to Re: Is Cache::Cache thread safe?
in thread Is Cache::Cache process safe? (process was thread)
Umm, I think I have been using the word 'threads' in the wrong context, sorry.
I have a bunch of grid engine nodes running scripts that use Cache::Cache on an NFS-shared directory tree, and my hypothesis is that two jobs are trying to add two identical objects to the cache at roughly the same time. So I guess that's two *processes*, not two threads.
And line 586 is the return statement in the following subroutine:
sub _get_key_for_unique_key { my ( $self, $p_namespace, $p_unique_key ) = @_; return $self->_read_data( $self->_path_to_unique_key( $p_namespace, $p_unique_key ) )->[0];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Is Cache::Cache process safe? (process was thread)
by perrin (Chancellor) on May 08, 2006 at 17:15 UTC | |
by talexb (Chancellor) on May 08, 2006 at 17:23 UTC |