MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / clone

Method clone

source/kernel/kthread.cpp:1286–1291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1284}
1285
1286void KThread::clone(KThread* from) {
1287 this->sigMask = from->sigMask;
1288 this->waitingForSignalToEndMaskToRestore = from->waitingForSignalToEndMaskToRestore;
1289 this->cpu->clone(from->cpu);
1290 this->cpu->thread = this;
1291}
1292
1293U32 KThread::modify_ldt(U32 func, U32 ptr, U32 count) {
1294 if (func == 1 || func == 0x11) {

Callers 3

doLockedIncThreadFunction · 0.45
syscall_cloneFunction · 0.45
syscall_vforkFunction · 0.45

Calls

no outgoing calls

Tested by 1

doLockedIncThreadFunction · 0.36