Пример #1
0
        // Thread

        public KernelResult CreateThread64(
            [R(1)] ulong entrypoint,
            [R(2)] ulong argsPtr,
            [R(3)] ulong stackTop,
            [R(4)] int priority,
            [R(5)] int cpuCore,
            [R(1)] out int handle)
        {
            return(_syscall.CreateThread(entrypoint, argsPtr, stackTop, priority, cpuCore, out handle));
        }
Пример #2
0
        // Thread

        public KernelResult CreateThread32(
            [R(1)] uint entrypoint,
            [R(2)] uint argsPtr,
            [R(3)] uint stackTop,
            [R(0)] int priority,
            [R(4)] int cpuCore,
            [R(1)] out int handle)
        {
            return(_syscall.CreateThread(out handle, entrypoint, argsPtr, stackTop, priority, cpuCore));
        }