MCPcopy Create free account
hub / github.com/apache/httpd / worker_address_get

Function worker_address_get

modules/proxy/proxy_util.c:2875–2879  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2873}
2874
2875static APR_INLINE proxy_address *worker_address_get(proxy_worker *worker)
2876{
2877 /* No _readptr() so let's _casptr(, NULL, NULL) instead */
2878 return apr_atomic_casptr((void *)&worker->address, NULL, NULL);
2879}
2880
2881/* XXX: Call when PROXY_THREAD_LOCK()ed only! */
2882static APR_INLINE void worker_address_set(proxy_worker *worker,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected