No, this is not possible. See http://code.google.com/intl/nl-BE/appengine/docs/java/runtime.html#The_Sandbox
"An App Engine application cannot: - spawn a sub-process or thread. A web request to an application must be handled in a single process within a few seconds. Processes that take a very long time to respond are terminated to avoid overloading the web server." On Tue, Jul 20, 2010 at 10:09 AM, Lu <[email protected]> wrote: > Hi, > > I'm trying to write some synchronization code to speed up my > application but GAE seems not support this. > > This is the standard java sync class. Am I able to do this if put them > on the server side? > > public class HelloRunnable implements Runnable { > > public void run() { > System.out.println("Hello from a thread!"); > } > > public static void main(String args[]) { > (new Thread(new HelloRunnable())).start(); > } > > } > > > Thanks, > Lu > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine%[email protected]> > . > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
