‘Boost’-ing NetCom Simulator

I’d heard about Boost since my last job, back to 2006. Knowing what Boost library is all about, I have not taste it out before, however. And on this week, I finally place my hands on it, so that Netcom Simulator project can have a thread-safe facility for dealing with date time. These functions can be access through interfaces defined in one of the gUtil modules –  GDateTime.

I just learnt that those date-time related C APIs are not very friendly when it comes to writing multi-threaded application, thanks to the use of static, although this is not really an issue under Windows, whose C runtime makes use of thread-local storage. It seems that multi-threading programming is more convenient on Windows, comparing to on Linux.

Comments are closed.