I'm currently using STM compiler to implement my own containers. However, it seems the compiler is applying some non-transactional version of memory operations such as memset internally. I've made the code as short as possible. The following code causes
tx_warning: tryclass2.cpp(29): a non tm_callable/tm_pure intrinsic function 'memset' called inside __tm_atomic section
I've written my own version of tmmemset, tmmemcpy, etc. The problem is how could I tell the compiler to use my implementation instead of its own?
Thanks for all your great work and patience.