get-slot() problem on the assignment page.


R. Clayton (rclayton@monmouth.edu)
(no date)


The assignment page has put-slot in the description for get-slot.

  Yes, that's wrong. Here's the correction:

    The calling process reads a value from its slot. After the get-slot system
    call returns, the caller's register 0 contains the system call status

     status::ok command completed successfully
     status::no_resource required resource not available

    If register 0 contains status::ok when the get-slot call returns, then
    register 1 contains the value read from the slot and register 2 contains
    the id of the process that put the value. If register 0 contains
    status::no_resource, then the slot didn't contain a value, and the contents
    of registers 1 and 2 are undefined.

  The assignment page has been updated. Apologies for the inconvenience.



This archive was generated by hypermail 2.0b3 on Fri Dec 03 2004 - 12:00:06 EST