Well, i my servlet methods (i use GWT RPC) do not use Thread specific
operations and they don't access any shared objects other than
Memcache objects, Session, or Datastore entities.

On 31 March 2011 18:20, Remigius <remigius.stal...@gmail.com> wrote:
> Ice13ill,
>
> There's a short and a long long answer to your question.
>
> The short one: If you don't already know what "proper thread
> synchronization" is, leave the <threadsafe> option switched off.
>
> The long one: Switching it on allows multiple HTTP requests to be
> handled concurrently by the same instance of your Java servlet. This
> means that all data structures that are accessible through instance
> members or static members can be accessed simultaneously by more than
> one running thread, which may result in unexpected errors if a thread
> manipulates a structure in a way that leaves it temporarily in an
> inconsistent state. Such errors are hard to trace as they may occur
> infrequently and be impossible to reproduce in a deterministic way.
> There are ways to ensure that such manipulations can not be
> interrupted, which is known as synchronization. There is a lot of
> information around (on the net and in printed form) on threadsafe
> programming in general and synchronization in particular.
>
> Cheers, Remigius.
>
> On 31 Mrz., 13:51, Ice13ill <andrei.fifi...@gmail.com> wrote:
>> What dies thread safe really mean ? ("your application code needs to
>> use proper thread synchronization before you enable <threadsafe>").
>> Can someone give some hints?
>>
>> On Mar 31, 10:53 am, Simon Knott <knott.si...@gmail.com> wrote:
>>
>>
>>
>>
>>
>>
>>
>> > Ah ignore my message, I've just tested it - in SDK 1.4.2 it throws an error
>> > and in SDK 1.4.3 it doesn't.  Cheers for the info, I should really have
>> > guessed at that...
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to