Implementation of I-Structures as a Library of Functions in Portable Threaded-C

José Nelson Amaral, Guang Gao

This document describes the implementation of I-structures as a library of functions in Portable Threaded-C. First a brief description of the way I-structures work is given. Then the operations allowed and the error conditions detected in this implementation are explained in detail. The syntax of the functions that implement the I-structure mechanism in Threaded-C is presented with a brief description of how each function operates. Finally a kernel based on Hopfield Networks is presented with a program example that uses the I-structure mechanism to transfer data among nodes. After the example is presented, we list opportunities to improve the program example that the reader might take as an exercise in Threaded-C programming.

Return to José Nelson Amaral's Publications

Send comments to: amaral AT cs DOT ualberta DOC ca

Return to Amaral's home page