MCPcopy Create free account
hub / github.com/ReadyTalk/avian / attach

Method attach

src/system/posix.cpp:672–678  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

670 }
671
672 virtual Status attach(Runnable* r)
673 {
674 Thread* t = new (allocate(this, sizeof(Thread))) Thread(this, r);
675 t->thread = pthread_self();
676 r->attach(t);
677 return 0;
678 }
679
680 virtual Status start(Runnable* r)
681 {

Callers 2

initMethod · 0.45
startMethod · 0.45

Calls 1

allocateFunction · 0.50

Tested by

no test coverage detected