6.6.10

Background Thread at Google App Engine

In Google App Engine, you could not easily start a thread and make it works at the background.

A simple Thread.start() API call will cause an Exception like this:

java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup)

But you can use the experimental TaskQueue API to start a task in the queue.

No comments: