next up previous 372
Next: Compiling and Linking Applications
Up: Examples of Using the NBS Routines
Previous: Saving and Restoring of Values

Losing Noticeboards

Noticeboards can be explicitly lost (unmapped). Often you will not need to worry about this and will be happy to allow them to be unmapped on image exit. Sometimes, however, you may require explicit control. Note though that a noticeboard is not actually deleted until the last process unmaps it.

Find a noticeboard and an item within it.

      NBS_FIND_NOTICEBOARD (`AUTOFIB',          ! Noticeboard name
                            TOPID,STATUS)       ! Top-level ID
      NBS_FIND_ITEM (TOPID,`CURRENT_CONFIG',CONID,STATUS)

Lose the item and the noticeboard.

      NBS_LOSE_ITEM (CONID,`CHECK',STATUS)
      NBS_LOSE_NOTICEBOARD (TOPID,`CHECK',STATUS)

Alternatively, if you like living dangerously, try this.

      NBS_LOSE_NOTICEBOARD (TOPID,`FORCE',STATUS)



next up previous 372
Next: Compiling and Linking Applications
Up: Examples of Using the NBS Routines
Previous: Saving and Restoring of Values

NBS The Noticeboard System
Starlink User Note 77
D.J. Allan
11 September 1995
E-mail:ussc@star.rl.ac.uk