khan@eng.auburn.edu (Saqib A. Khan) (06/13/91)
Dear fellow Transputoids: :) I am in the midst of programming a Transputer based packet routing switch and am using the infamous 3L Parallel C compiler version 2.1 in conjunction with Tbug (3L's general purpose debugger) on a B004 board connected to 2 B003 boards (all use T414B TRAMs). I keep running into problems when using the runtime library with multiple threads active. My software uses extensive message passing with timeouts and extensive dynamic memory allocation/deallocation. Although I use sema phore locking as described in the manual (ie lock & release "par_sema" for every call to the runtime lib). I still can't get the software to work properly! Could some person who has experience programming multiple threads PLEASE help me out, my whole thesis research has stopped due to this problem! Could it be that there is a bug in the 3L library? Any help/advise in this matter would be greatly appreciated. Thanks in advance. Saqib A. Khan