On Fri, 2005-05-20 at 00:04 +0300, Itamar Rabenstein wrote: > I am not saying that we need it in OpenIb code because it was in SF code > I said that in OpenIb implementation we need it the same as in SF we need > it. > we must have this lock because for example : > if the same evd will be a CM evd for 2 ep's > each one on different Thread both can try to add an event to the evd in the > same time > there for we need to lock the evd when we take an empty event from one list > (empty list) > and to unlock it after we add the event to the second list (waiting events > list) > the lock is in one function and the unlock in the second function. > > so we need in out OpenIb code and also SF code need it (;-)
Fair enough. Thanks for the clarification. -tduffy
signature.asc
Description: This is a digitally signed message part
_______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
