The loadable code is self-scheduling. In other words, the application specifies the initial time that it wants the loadable code to be executed and after that the code itself manages its own wakeup time. To help it do this, the Sandman provides the loadable code with a context, i.e. useful information such as the current time, each time it executes it. The current implementation uses UNIX style best-effort scheduling with millisecond granularity.