MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / tcpTrigger

Function tcpTrigger

modules/io/socket/zephyr/tcp.c:582–589  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

580}
581
582void tcpTrigger(TCP tcp, uint8_t trigger)
583{
584 uint8_t triggered = atomic_or(&tcp->triggered, trigger);
585 if (!triggered) {
586 tcpHold(tcp);
587 modMessagePostToMachine(tcp->the, NULL, 0, tcpDeliver, tcp);
588 }
589}
590
591void xs_tcp_mark(xsMachine* the, void* it, xsMarkRoot markRoot)
592{

Callers 7

xs_tcp_constructorFunction · 0.70
xs_tcp_readFunction · 0.70
xs_tcp_writeFunction · 0.70
tcpConnectFunction · 0.70
tcpReceiveFunction · 0.70
tcpSentFunction · 0.70
tcpTrySendFunction · 0.70

Calls 2

tcpHoldFunction · 0.70
modMessagePostToMachineFunction · 0.50

Tested by

no test coverage detected