Next: Queue functions, Previous: Random-task functions, Up: Run-time library functions [Contents][Index]
Allocate and initialize an opaque NCPTL_VIRT_PHYS_MAP
object
and return a pointer to it.
Store a pointer to a task map, and mark the task map as “live”.
Replicate an existing task map if it is “live” (i.e., something points to it) or return the input parameter if not.
Given a process map allocated by
ncptl_allocate_task_map()
and a (virtual) task ID, return the corresponding (physical)
process ID.
Given a process map allocated by
ncptl_allocate_task_map()
and a (physical) process ID, return the corresponding (virtual)
task ID.
Assign a (physical) processor ID, physID, to a
(virtual) task ID, virtID given a virtual-to-physical
mapping table, procmap. Return a new task ID for the
caller’s processor given its processor ID,
physrank. ncptl_assign_processor()
is
intended to implement the IS ASSIGNED TO
construct
(see Reordering task
IDs).