GLog module is thread safe now

Finally, the GLog module can be use safely from multiple threads concurrently. This is achieved by using the Boost.Asio library, which is one of the options mentioned in previous post. Asio provides some convenient utilities, such as io_service and strand, which makes implementation of asynchronous I/O and synchronous access to shared resources relatively easy. In fact, these are the missing parts in the initial idea of having dedicated logging thread.

The latest revision of GLog module has been committed into NetCom Simulator’s SVN repository.

Comments are closed.