06.08.2013 Views

pSOSystem System Calls - Read

pSOSystem System Calls - Read

pSOSystem System Calls - Read

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Tables of <strong>System</strong> <strong>Calls</strong> pSOS+ <strong>System</strong> <strong>Calls</strong><br />

TABLE A-2 pSOS+ <strong>System</strong> <strong>Calls</strong> (Continued)<br />

Name Description Page<br />

q_vurgent Posts a message at the head of a variable-length message<br />

queue.<br />

1-104<br />

rn_create Creates a memory region. 1-107<br />

rn_delete Deletes a memory region. 1-110<br />

rn_getseg Allocates a memory segment to the calling task. 1-112<br />

rn_ident Obtains the region identifier of the named region. 1-115<br />

rn_retseg Returns a memory segment to the region from which it was allocated.<br />

sm_av (pSOS+m kernel only) Asynchronously releases a semaphore<br />

token.<br />

1-117<br />

1-119<br />

sm_create Creates a semaphore. 1-121<br />

sm_delete Deletes a semaphore. 1-124<br />

sm_ident Obtains a semaphore identifier. 1-126<br />

sm_p Acquires a semaphore token. 1-128<br />

sm_v Releases a semaphore token. 1-131<br />

t_create Creates a task. 1-133<br />

t_delete Deletes a task. 1-138<br />

t_getreg Gets a task’s notepad register. 1-141<br />

t_ident Obtains the task identifier of the named task. 1-143<br />

t_mode Gets or changes the calling task’s execution mode. 1-145<br />

t_restart Forces a task to start over regardless of its current state. 1-149<br />

t_resume Resumes a suspended task. 1-152<br />

t_setpri Gets and optionally changes a task’s priority. 1-154<br />

t_setreg Sets a task’s notepad register. 1-156<br />

t_start Starts a task. 1-158<br />

<strong>pSO<strong>System</strong></strong> <strong>System</strong> <strong>Calls</strong> A-17<br />

A

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!