Home
last modified time | relevance | path

Searched refs:gpr_mpscq_node (Results 1 – 9 of 9) sorted by relevance

/external/grpc-grpc/src/core/lib/gpr/
Dmpscq.cc36 bool gpr_mpscq_push(gpr_mpscq* q, gpr_mpscq_node* n) { in gpr_mpscq_push()
38 gpr_mpscq_node* prev = in gpr_mpscq_push()
39 (gpr_mpscq_node*)gpr_atm_full_xchg(&q->head, (gpr_atm)n); in gpr_mpscq_push()
44 gpr_mpscq_node* gpr_mpscq_pop(gpr_mpscq* q) { in gpr_mpscq_pop()
49 gpr_mpscq_node* gpr_mpscq_pop_and_check_end(gpr_mpscq* q, bool* empty) { in gpr_mpscq_pop_and_check_end()
50 gpr_mpscq_node* tail = q->tail; in gpr_mpscq_pop_and_check_end()
51 gpr_mpscq_node* next = (gpr_mpscq_node*)gpr_atm_acq_load(&tail->next); in gpr_mpscq_pop_and_check_end()
60 next = (gpr_mpscq_node*)gpr_atm_acq_load(&tail->next); in gpr_mpscq_pop_and_check_end()
67 gpr_mpscq_node* head = (gpr_mpscq_node*)gpr_atm_acq_load(&q->head); in gpr_mpscq_pop_and_check_end()
74 next = (gpr_mpscq_node*)gpr_atm_acq_load(&tail->next); in gpr_mpscq_pop_and_check_end()
[all …]
Dmpscq.h35 typedef struct gpr_mpscq_node { struct
37 } gpr_mpscq_node; typedef
44 gpr_mpscq_node* tail;
45 gpr_mpscq_node stub;
54 bool gpr_mpscq_push(gpr_mpscq* q, gpr_mpscq_node* n);
58 gpr_mpscq_node* gpr_mpscq_pop(gpr_mpscq* q);
60 gpr_mpscq_node* gpr_mpscq_pop_and_check_end(gpr_mpscq* q, bool* empty);
75 bool gpr_locked_mpscq_push(gpr_locked_mpscq* q, gpr_mpscq_node* n);
80 gpr_mpscq_node* gpr_locked_mpscq_try_pop(gpr_locked_mpscq* q);
84 gpr_mpscq_node* gpr_locked_mpscq_pop(gpr_locked_mpscq* q);
/external/grpc-grpc/test/core/gpr/
Dmpscq_test.cc33 gpr_mpscq_node node;
95 gpr_mpscq_node* n; in test_mt()
132 gpr_mpscq_node* n; in pull_thread()
/external/grpc-grpc/src/core/lib/surface/
Dcompletion_queue.h39 gpr_mpscq_node node;
Dcompletion_queue.cc429 gpr_mpscq_push(&q->queue, reinterpret_cast<gpr_mpscq_node*>(c)); in cq_event_queue_push()
Dserver.cc65 gpr_mpscq_node request_link; /* must be first */
/external/grpc-grpc/src/core/lib/iomgr/
Dcall_combiner.cc96 reinterpret_cast<gpr_mpscq_node*>(closure)); in grpc_call_combiner_start()
Dclosure.h72 gpr_mpscq_node atm_next;
Dcombiner.cc244 gpr_mpscq_node* n = gpr_mpscq_pop(&lock->queue); in grpc_combiner_continue_exec_ctx()