The examples used are based on the RSP server implementation for the OpenRISC 1000 architectural simulator, Or1ksim.
The target is "bare metal". There is no operating system infrastructure necessarily present. In this context, commands relating to threads or the file system are of no meaning and not implemented.