Interfacing C and occam-pi

This paper describes an extension to the KRoC occam-π system that allows processes programmed in C to participate in occam-π style concurrency. The uses of this are wide-ranging, from providing low-level C processes running concurrently as part of an occam-π network, through to concurrent systems programmed entirely in C. The easily extended API for C processes is based on the traditional Inmos C API, used also by CCSP, extended to cover new features of occam-π. One of the motiva- tions for this work is to ease the development of low-level network communication in- frastructures. A library that provides for networking of ch annel-bundles over TCP/IP networks is presented, in addition to initial performance fi gures.