[help] system C crash with pthread

Status
Not open for further replies.

niuniu

Member level 5
Joined
Jul 23, 2002
Messages
87
Helped
4
Reputation
8
Reaction score
0
Trophy points
1,286
Activity points
691
pthread systemc

I am writing a GUI interface for a system C verification environment. and I want to use thread. but I found system C do no like POSIX thread,
I have try an simple systemc simulation, without add any code about pthread, just add -lpthread at link will crash the simulation. anyone know how this happens?

segment fault point at coredump:
sc_cor_qt_wrapper()
sc_thread_cor_rfn()
sender::main()
ostream:perator <<()
_pthread_cleanup_push_defer()
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…