Lines Matching refs:stat
43 apr_status_t stat;
47 stat = pthread_attr_init(&(*new)->attr);
49 if (stat == 0) {
55 stat = errno;
58 return stat;
70 apr_status_t stat;
74 if ((stat = pthread_attr_setdetachstate(&attr->attr, &arg)) == 0) {
76 if ((stat = pthread_attr_setdetachstate(&attr->attr,
83 stat = errno;
86 return stat;
107 int stat;
109 stat = pthread_attr_setstacksize(&attr->attr, stacksize);
110 if (stat == 0) {
114 stat = errno;
117 return stat;
151 apr_status_t stat;
174 stat = apr_pool_create(&(*new)->pool, pool);
175 if (stat != APR_SUCCESS) {
176 return stat;
179 if ((stat = pthread_create((*new)->td, temp, dummy_worker, (*new))) == 0) {
184 stat = errno;
187 return stat;
214 apr_status_t stat;
217 if ((stat = pthread_join(*thd->td,(void *)&thread_stat)) == 0) {
223 stat = errno;
226 return stat;
232 apr_status_t stat;
235 if ((stat = pthread_detach(thd->td)) == 0) {
237 if ((stat = pthread_detach(*thd->td)) == 0) {
244 stat = errno;
247 return stat;