commit | ada7f272890d8791bc518c95989ad7d13050834d | [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 | e5498d059f7eb1bac4fac60a3eada709f0763ca0 | |
parent | 8287c0c89bb346a9f251505ac5d5ceb8f449bbaf [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/rsContext.cpp b/rsContext.cpp index cc11ab2..0ac8320 100644 --- a/rsContext.cpp +++ b/rsContext.cpp
@@ -317,7 +317,7 @@ } while(!mRunning) { - sleep(1); + usleep(100); } pthread_attr_destroy(&threadAttr);