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

Method makeThread

src/classpath-avian.cpp:42–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 }
41
42 virtual GcThread* makeThread(Thread* t, Thread* parent)
43 {
44 GcThreadGroup* group;
45 if (parent) {
46 group = parent->javaThread->group();
47 } else {
48 group = makeThreadGroup(t, 0, 0, 0);
49 }
50
51 const unsigned NewState = 0;
52 const unsigned NormalPriority = 5;
53
54 return vm::makeThread(t,
55 0,
56 0,
57 0,
58 0,
59 0,
60 NewState,
61 NormalPriority,
62 0,
63 0,
64 0,
65 roots(t)->appLoader(),
66 0,
67 0,
68 group,
69 0);
70 }
71
72 virtual object makeJMethod(Thread* t, GcMethod* vmMethod)
73 {

Callers

nothing calls this directly

Calls 2

rootsFunction · 0.85
groupMethod · 0.45

Tested by

no test coverage detected