niuniu
Member level 5
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()
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()