Home | History | Annotate | Download | only in libloc_api_50001

Lines Matching refs:result

55     int result;
58 result = pthread_cond_init( &thelper->thread_cond, NULL);
59 if (result) {
60 return result;
63 result = pthread_mutex_init(&thelper->thread_mutex, NULL);
64 if (result) {
67 return result;
90 int result, ret_result = 0;
91 result = pthread_cond_destroy( &thelper->thread_cond);
92 if (result) {
93 ret_result = result;
96 result = pthread_mutex_destroy(&thelper->thread_mutex);
97 if (result) {
98 ret_result = result;
125 int result = 0;
129 result = pthread_cond_wait(&thelper->thread_cond, &thelper->thread_mutex);
133 result = -1;
137 return result;
160 int result;
166 result = pthread_cond_signal(&thelper->thread_cond);
169 return result;
192 int result = thelper->thread_ready;
200 return result;
223 int result = 0;
227 result = thelper->thread_proc_init(thelper->thread_context);
228 if (result < 0) {
239 result = thelper->thread_proc_pre(thelper->thread_context);
240 if (result < 0) {
249 result = thelper->thread_proc(thelper->thread_context);
250 if (result < 0) {
258 result = thelper->thread_proc_post(thelper->thread_context);
261 if (result != 0) {
305 int result;
320 result = 0;
324 result = pthread_create(&thelper->thread_id, NULL,
328 if (result != 0) {
386 int result;
389 result = pthread_join(thelper->thread_id, NULL);
390 if (result != 0) {
397 return result;