Commit 0fe51283 authored by Federico G. Schwindt's avatar Federico G. Schwindt

Just hide this whole thing from Sun CC for now

parent 02072a9e
......@@ -321,7 +321,9 @@ server_dispatch_thread(void *priv)
assert(s->sock >= 0);
vl = vtc_logopen(s->name);
#if !defined(__SUNPRO_C)
pthread_cleanup_push(vtc_logclose, vl);
#endif
vtc_log(vl, 2, "Dispatch started on %s", s->listen);
......@@ -340,7 +342,9 @@ server_dispatch_thread(void *priv)
s2->run = 1;
AZ(pthread_create(&s2->tp, NULL, server_dispatch_wrk, s2));
}
NEEDLESS(pthread_cleanup_pop(1));
#if !defined(__SUNPRO_C)
pthread_cleanup_pop(1);
#endif
NEEDLESS(return(NULL));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment