summaryrefslogtreecommitdiff
path: root/src/user/knob/task.c
blob: aa18eaba7ee83fbf597b8a7a47cca0613c9c4013 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <stdbool.h>
#include <pland/syscall.h>
#include <knob/file.h>

bool try_run_command(const char *path) {
  uint8_t dn;
  path = remove_prefix(path, &dn);
  return _start_task(dn, path);
}

void yield_task() {
  _yield_task();
}