ResultCollector)
S.
-Original Message-
From: mstover [mailto:[EMAIL PROTECTED]
Sent: 22 March 2004 14:26
To: JMeter Developers List
Subject: RE: Is JMeterContextService.getContext() thread safe? Should it b e
such?
I'm not talking about making the context itself read-only, just the
I'm not talking about making the context itself read-only, just the
getContext() method that retrieves the context according to the current
thread. Each context should be accessible only to a single thread via
this strategy and shouldn't need synchronization for read or write
operations.
I wouldn
Forgot to say that JMeterThread initialises the context field - in the
samplers at least -before starting the test run.
S.
-Original Message-
From: BAZLEY, Sebastian
Sent: 22 March 2004 13:01
To: 'JMeter Developers List'
Subject: RE: Is JMeterContextService.getContext() thread safe? Should
Not sure it should be read-only.
The context is useful (and already used?) for communicating information
within a thread.
I recently added a version of getContext() to AbstractTestElement that
caches the context variable.
The idea being that the TestElements are all cloned per thread, and so
ther