z-logo
Premium
A low‐cost implementation of coroutines for C
Author(s) -
Bailes Paul A.
Publication year - 1985
Publication title -
software: practice and experience
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.437
H-Index - 70
eISSN - 1097-024X
pISSN - 0038-0644
DOI - 10.1002/spe.4380150407
Subject(s) - computer science , simplicity , set (abstract data type) , unix , object (grammar) , compromise , programming language , operating system , software , artificial intelligence , social science , philosophy , epistemology , sociology
We identify a set of primitive operations supporting coroutines, and demonstrate their usefulness. We then address their implementation in C according to a set of criteria aimed at maintaining simplicity, and achieve a satisfactory compromise between it and effectiveness. Our package for the PDP‐11 under UNIX† allows users of coroutines in C programs to gain access to the primitives via an included definitions file and an object library; no penalty is imposed upon non‐coroutine users.

This content is not available in your region!

Continue researching here.

Having issues? You can contact us here