作者: Adrian Castello , Rafael Mayo Gual , Sangmin Seo , Pavan Balaji , Enrique S. Quintana-Orti
关键词: Programming paradigm 、 Concurrent computing 、 Parallel computing 、 Computer science 、 Application programming interface 、 Thread (computing) 、 POSIX Threads 、 Supercomputer 、 Concurrency 、 Instruction set 、 Theoretical computer science 、 Hardware and Architecture 、 Computational Theory and Mathematics 、 Software
摘要: With the appearance of multi-/many core machines, applications and runtime systems have evolved in order to exploit new on-node concurrency brought by software paradigms. POSIX threads (Pthreads) was widely-adopted for that purpose it remains as most used threading solution current hardware. Lightweight thread (LWT) libraries emerged an alternative offering lighter mechanisms tackle massive In this article, we analyze detail representative including Pthread- LWT-based solutions. addition, examine suitability LWTs different use cases, develop a set microbenchmarks consisting OpenMP patterns commonly found parallel codes, compare results using implementations. Moreover, study semantics offered expose similarities among LWT application programming interfaces their advantages over Pthreads. This article exposes outperform solutions based on operating system when tasks nested parallelism are required.