Matthieu Dartiailh
Matthieu Dartiailh
The main thing that I know is not thread safe is the use of reference counted pointer for variable in the C++ code. So, the creation/destruction of variables may require...
@lysnikolaou Thanks for shimming in. As I mentioned earlier the C++ code use reference counted pointer which are not thread safe so a minimal protection is required. A global lock...
Yes it was an oversight
ping @francof2a could you have a look at this ?
So you are definitively in the gray region of what is valid when customizing members. Enum is not the only that can be broken in this way I believe. The...
If you want an homogeneous user experience it would have to be a `pre_validate` (since otherwise a default value would be treated differently from a set value). I can see...
Out of cusiority have you considered directly coercing to your custom type and make it wrap an atom list ? And use post_setattr to manage observers ?
For your particular case I feel like you could use a Coerced and some post_setattr customization to handle observers. That being said I was always a bit bothered by the...
And sorry for the late reply
I actually gave some extra though about having coercion as a pre-validate mode and it does not really work out that well. Typically one wants coercion to occur if the...