Code cleanup to make formatting consistent
across all the renderscript files.
Change-Id: Idf5fcc60877e44c8f074f7176e37f70b3b895a3c
diff --git a/libs/rs/rsSignal.cpp b/libs/rs/rsSignal.cpp
index 9239bfd..ccd20b9 100644
--- a/libs/rs/rsSignal.cpp
+++ b/libs/rs/rsSignal.cpp
@@ -20,19 +20,16 @@
using namespace android::renderscript;
-Signal::Signal()
-{
+Signal::Signal() {
mSet = true;
}
-Signal::~Signal()
-{
+Signal::~Signal() {
pthread_mutex_destroy(&mMutex);
pthread_cond_destroy(&mCondition);
}
-bool Signal::init()
-{
+bool Signal::init() {
int status = pthread_mutex_init(&mMutex, NULL);
if (status) {
LOGE("LocklessFifo mutex init failure");
@@ -49,8 +46,7 @@
return true;
}
-void Signal::set()
-{
+void Signal::set() {
int status;
status = pthread_mutex_lock(&mMutex);
@@ -72,8 +68,7 @@
}
}
-void Signal::wait()
-{
+void Signal::wait() {
int status;
status = pthread_mutex_lock(&mMutex);