bp
unread,Feb 8, 2012, 6:20:36 PM2/8/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-glog
Hi,
I recently joined an embedded software project. The project used boost
thread library to spawn two boost threads from main thread. The
logging capability of project was very primitive using just cout/cerr.
I integrated the glog library for the ARM processor based gnu cross
compiler setup. Everything works fine with glog when I run in single
thread scenario. When I spawn the boost thread and call glog logging
in it (example: LOG(INFO), LOG(ERROR),..etc) it does not work. Can I
use glog in boost threads?
If I cannot use glog in boost threads, can glog work with pthreads (I
will replace boost threads with pthreads).?
Thanks for any help.
bhavesh