cth103 / locked_sstream

0 stars 0 forks source link

Please reconsider creating separate projects for mutexed classes #1

Open yurivict opened 5 years ago

yurivict commented 5 years ago

I'm hesitant to create a package for locked_sstream, because following the same logic any STL class can be mutexed and packaged the same way. This would create a lot of packaging overhead for no good reason.

cth103 commented 5 years ago

Hi, I think sstream is a slightly special case, as there is a bizarre bug on Mac OS X where using two different stringstream objects simultaneously in two different threads can crash.

That being said, with hindsight I'm not sure that this library is the best solution, nor that it is a complete fix, so it may be possible to make it go away.

Are you packaging DCP-o-matic for FreeBSD?

yurivict commented 5 years ago

Are you packaging DCP-o-matic for FreeBSD?

yes

cth103 commented 5 years ago

Great! I think this library can be removed, but I will need to wait a few weeks as I'm shortly to make a beta release. At the very least it can be made OSX only.