MCPcopy Create free account
hub / github.com/XpuOS/xsched / SchedOperation

Method SchedOperation

sched/src/protocol/operation.cpp:25–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25SchedOperation::SchedOperation(const void *data)
26{
27 size_t size = ((const OperationData *)data)->size;
28 OperationData *new_data = (OperationData *)malloc(size);
29 memcpy(new_data, data, size);
30 data_ = new_data;
31}
32
33SchedOperation::SchedOperation(OperationId id, const ProcessStatus &status)
34{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected