Function xous::syscall::create_server

source ·
pub fn create_server() -> Result<SID, Error>
Expand description

Create a new server with a random name. This enables other processes to connect to this server to send messages. A random server ID is generated by the kernel and returned to the caller. This address can then be registered to a nameserver.

§Errors

  • ServerNotFound: No more servers may be created
  • OutOfMemory: No more servers may be created because the server count limit has been reached, or the system does not have enough memory for the backing store.