kentr(2) - Linux man page
Name
kenter - Enter process into LAM session.C Synopsis
int kenter (char *name, int priority);Fortran Synopsis
subroutine KENTR (name, priority, ierr)character name*(*)
integer priority, ierr
Description
The name argument should be the name of the program (argv[0] is recommended) and becomes a convenient recognition string in the output of the state(1) command. It is not used for any type of synchronization.
Process Scheduling
LAM processes are scheduled by the host operating system. The priority argument determines which process will be synchronized first when many are blocked on the same message event and type (see ksend(2)). The highest priority process is always favoured.The LAM daemon works like a server. By not replying to a message passing request, it can effectively block a process from running. The daemon will also attempt to preempt a running process when delivering a LAM signal (see kdoom(2)).
Errors
- ENOKERNEL
- LAM is not running on the local node.
- ENOKDESCRIPTORS
- The LAM daemon ran out of process descriptors.
