26 Oct
2012
26 Oct
'12
11:41 a.m.
Arran Cudbard-Bell wrote:
I've only ever tested it in debugging mode, which of course runs single threaded... I'd assumed that as Alan wrote the code there had to be locks associated with the rbtree but no... obviously not.
No. The rbtree API just does trees. It doesn't do locks.
Quick fix would be to change type to RLM_TYPE_THREAD_UNSAFE in the module_t struct, then it'll go through modcall_single.
Yes. Alan DeKok.