next up previous contents
Next: Writing a distribution library Up: Using PaCO++ with your Previous: Adding a thread library   Contents

Adding a communication library

PaCO++ uses the fabric pattern to be portable through the communication library. To add a new communication library, you have to implement two classes : paco_com and paco_individual_fabrique_com. These abstract classes are in the paco_com.h file into the directory Src/com.

Each of these class have to be implemented for your communication library. The meaning of these classes are straightforward. That's why they are not going to be explained here.

You have to pay attention that these methods migth be used by some other threads than the caller threads. The communication that you want to add to PaCO++ has to support this case.



2013-04-10