On 04.10.2006, at 09:42, Zoran Vasiljevic wrote:
(answering my own questions)
But... I believe there is a "hole" there. Look: lexxsrv:nscp 7> ns_mutex lock themutex lexxsrv:nscp 8> ns_cond wait thecond themutex invalid address "themutex" lexxsrv:nscp 9> I could however: lexxsrv:nscp 9> ns_cond broadcast thecond lexxsrv:nscp 10>
There is a slight "glicht" as this one works fine: lexxsrv:nscp 1> set m mux mux lexxsrv:nscp 2> ns_mutex lock $m lexxsrv:nscp 3> ns_cond wait thecond $m 100 This is because you expect the mutex argument of the ns_cond to be of the Address type which is not always true. I think I see where the problem is and will fix that now.