Why is java.lang.Thread
in the Google App Engine whitelist when it is not supported?
views:
198answers:
2
+2
A:
Only Google (or their employees) can give you the real reason, but my guess is that there are methods in that Class that you may use (such as getStackTrace()
or getContextClassLoader()
).
Joachim Sauer
2009-09-07 12:02:43
sorry can you elaborate, what getSTackTrace() and getContextClassLoader() for..?
cometta
2009-09-07 12:14:19
@cometta he linked them to the javadocs
abyx
2009-09-07 12:18:33
+6
A:
Thread is partially supported. For example, you can do
Thread.sleep(1000);
However, App Engine doesn't allow you to create new thread in anyway. I guess it makes sense for the class to show up in whitelist.
ZZ Coder
2009-09-07 12:17:01