Skip Nav
Home » Forums » SystemC Forum

Icon - KMLM List KMLM List

View email archives for the history of this mailing list.

List Home All Archives Dates Threads Authors Subjects
systemc-forum - RE: [Systemc-forum] Quickthreads problems on Linux platform using Pthrea Message Thread: Previous | Next
  • To: "Carey, Patrick" <patrick.carey@xxxxxxxxx>, <systemc-forum@xxxxxxxxxxx>
  • From: "Jyoti Swarup" <jyoti.swarup@xxxxxxxxxxxxxxxxx>
  • Date: Thu, 5 Feb 2004 09:42:41 +0530
Send Email to
Send new message
Reply to this message
We have an implementation which we run simulation from one pthread, with
lots of SC_THREADS

And control and peek simulation from another threads. We do not face any

May be you have some memory corruption issue or not locking mutual
data-structure using mutexes.




-----Original Message-----
From: Carey, Patrick [mailto:patrick.carey@xxxxxxxxx] 
Sent: Wednesday, February 04, 2004 10:10 PM
To: systemc-forum@xxxxxxxxxxx
Subject: [Systemc-forum] Quickthreads problems on Linux platform using



Has anyone had any success in getting SystemC threads (SC_THREADS) to
work on top of a system running Pthreads on Linux?  I know from the past
few years that there was an issue with the Linux Pthread library in its
handling of certain pointers on the stack that causes errors with
malloc.  We have a validation system where the base executable is
running Pthreads and this program kicks off other tools, one of which is
a SystemC design that has test threads in it.  The test threads seg
fault with malloc due to the incompatibility described above.  Does
anyone know if it is possible to reimplement the Pthreads library or any
other workaround so these two thread systems can coexist?

Patrick Carey 

By Date: Previous | Next Current Thread By Thread: Previous | Next

  Mail converted by the most-excellent MHonArc 2.6.10