Next: Putting Values into the Noticeboard
Up: Examples of Using the NBS Routines
Previous: Creating the Noticeboard
Any process that wants to use a noticeboard must map it. This is done in
precisely the same way by both the noticeboard owner and any other processes
wishing to use it.
INTEGER TOPID ! Top-level noticeboard ID
Map (find) the noticeboard.
NBS_FIND_NOTICEBOARD (`AUTOFIB', ! Noticeboard name
TOPID,STATUS) ! Top-level ID
- This is the first NBS routine that a non-owner need call.
- It does no harm to make multiple calls to this routine, but each call will
map the noticeboard into a new part of virtual memory (on VMS only --
the UNIX version will return the same virtual memory address) and will
return a different ID.
- This TOPID is not the same as the TOPSID returned by
the NBS_BEGIN_DEFINITION routine. Static identifiers are used only
during the definition phase and we are no longer in this phase.
Next: Putting Values into the Noticeboard
Up: Examples of Using the NBS Routines
Previous: Creating the Noticeboard
NBS The Noticeboard System
Starlink User Note 77
D.J. Allan
11 September 1995
E-mail:ussc@star.rl.ac.uk