MCPcopy Create free account
hub / github.com/apache/trafficserver / TSContCall

Function TSContCall

src/api/InkAPI.cc:3677–3687  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3675}
3676
3677int
3678TSContCall(TSCont contp, TSEvent event, void *edata)
3679{
3680 Continuation *c = reinterpret_cast<Continuation *>(contp);
3681 WEAK_MUTEX_TRY_LOCK(lock, c->mutex, this_ethread());
3682 if (!lock.is_locked()) {
3683 // If we cannot get the lock, the caller needs to restructure to handle rescheduling
3684 ink_release_assert(0);
3685 }
3686 return c->handleEvent(static_cast<int>(event), edata);
3687}
3688
3689TSMutex
3690TSContMutexGet(TSCont contp)

Callers 15

accept_handlerFunction · 0.85
handle_bufferingFunction · 0.85
bnull_transformFunction · 0.85
body_reader_helperFunction · 0.85
transform_buffer_eventFunction · 0.85
wake_up_streamsFunction · 0.85
transform_handlerFunction · 0.85
handle_transformFunction · 0.85
append_transformFunction · 0.85
handle_transformFunction · 0.85
null_transformFunction · 0.85

Calls 2

this_ethreadFunction · 0.85
handleEventMethod · 0.45

Tested by 4

handle_transformFunction · 0.68
transformtest_transformFunction · 0.68