A Common Library Interface to Shared-Memory Multiprocessors