__cpc
typedef struct __cpc cpc_t;
extern cpc_t *__cpc;
struct __cpc;
extern int __pctx_cpc(pctx_t *pctx, struct __cpc *cpc, int cmd, id_t lwpid,
if ((set = __cpc_eventtoset(__cpc, this, flags)) == NULL) {
ret = cpc_bind_curlwp(__cpc, set, flags);
(void) cpc_set_destroy(__cpc, set);
extern cpc_t *__cpc;
if ((set = __cpc_eventtoset(__cpc, this, flags)) == NULL) {
(void) cpc_set_destroy(__cpc, set);
if ((set = __cpc_eventtoset(__cpc, event, flags)) == NULL) {
ret = cpc_bind_pctx(__cpc, pctx, lwpid, set, 0);
(void) cpc_set_destroy(__cpc, set);
return (__pctx_cpc(pctx, __cpc, CPC_SAMPLE, lwpid, event->ce_pic,
return (__pctx_cpc(pctx, __cpc, CPC_INVALIDATE, lwpid, 0, 0, 0, 0));
return (__pctx_cpc(pctx, __cpc, CPC_RELE, lwpid, 0, 0, 0, 0));
cpc_t *__cpc = NULL;
extern cpc_t *__cpc; /* CPC handle for obsolete clients to share */
if (__cpc == NULL && (__cpc = cpc_open(CPC_VER_CURRENT)) == NULL) {
__pctx_cpc_register_callback(void (*arg)(struct __cpc *, struct __pctx *))
struct __cpc;
extern int __pctx_cpc(pctx_t *, struct __cpc *, int, id_t,
extern void __pctx_cpc_register_callback(void (*)(struct __cpc *,