commit | e60446b9c1a0f4f48372a36de5b01a2ddb8121e3 | [log] [tgz] |
---|---|---|
author | Jason Sams <rjsams@android.com> | Thu Sep 24 14:55:38 2009 -0700 |
committer | Jason Sams <rjsams@android.com> | Thu Sep 24 14:55:38 2009 -0700 |
tree | 8d9d7807a3aa295e2445095ab646a611711f7b72 | |
parent | b6f2b131c42e5148b07c7cfe22b8bd5bc5b4ad4b [diff] [blame] |
Fix invokables to make sure script pointers are setup before invoking function calls. Reduce app startup time up to 1s.
diff --git a/libs/rs/rsContext.cpp b/libs/rs/rsContext.cpp index cc11ab2..0ac8320 100644 --- a/libs/rs/rsContext.cpp +++ b/libs/rs/rsContext.cpp
@@ -317,7 +317,7 @@ } while(!mRunning) { - sleep(1); + usleep(100); } pthread_attr_destroy(&threadAttr);