[interfacekit] locking...
- From: "Adi Oanca" <e2joseph@xxxxxxxxxx>
- To: <interfacekit@xxxxxxxxxxxxx>
- Date: Thu, 19 Jun 2003 16:57:04 +0300
Hi ALL!
Question:
My BView::Origin is defined like this:
BPoint BView::Origin(void) const {
if (owner){
owner->AssertLocked();
}
return fBounds.LeftTop();
}
Be's like:
BView::Origin(void) const {
BLooper::check_lock(void)
_BSession_::swrite_l(long)
_BSession_::swrite_l(long)
_BSession_::swrite_l(long)
BWindow::Flush(void) const
_BSession_::sread(long, void *)
}
In Be's implementation, it is clear that a lock is required.
In my method, is it required?
- Follow-Ups:
- [interfacekit] Re: locking...
- From: Axel Dörfler
- [interfacekit] Re: locking...
- From: Ingo Weinhold
Other related posts:
- » [interfacekit] locking...
- » [interfacekit] Re: locking...
- » [interfacekit] Re: locking...
- [interfacekit] Re: locking...
- From: Axel Dörfler
- [interfacekit] Re: locking...
- From: Ingo Weinhold