History log of /haiku/headers/private/shared/AutoLocker.h
Revision Date Author Comments
# 32fd04c9 29-Jan-2022 X512 <danger_mail@list.ru>

AutoLocker: get ability to get lockable

Change-Id: Id8f554494ce83725c40ccebdf0e58e54bf1bf47c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4920
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 7806eafa 15-Apr-2021 X512 <danger_mail@list.ru>

AutoLocker: add BHandler support

Change-Id: Ifaee00664eab78f0b6f67a8b716e3db8af710acd
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4008
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>


# 18f5cd17 09-Sep-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Explicitly denote BPrivate to avoid clashes


# b0c7d4fa 13-May-2009 Axel Dörfler <axeld@pinc-software.de>

* Removed operator=(otherLocker) again. Didn't really make sense this way,
as Stippi correctly pointed out.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30748 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 49dcde5c 13-May-2009 Axel Dörfler <axeld@pinc-software.de>

* Added operator=().
* Style cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30740 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a3ff5c05 24-Mar-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added missing inclusion of <stddef.h>.
* Added AutoLocker constructor with the locking strategy as parameter.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29685 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 590c0d66 30-May-2008 Stephan Aßmus <superstippi@gmx.de>

Darn... should have been part of my last commit:
Export the Read/Write locking strategies from the BPrivate namespace. Fixes
Icon-O-Matic build (RWLocker).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25721 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1221a4f2 01-Oct-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Allow derived classes to access the member variables.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22399 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fed5bce4 01-Sep-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Made SetTo() deal with the lockable == NULL, alreadyLocked == true
correctly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22142 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2b2ec438 26-Mar-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

* Moved the AutoLocker class out of the kernel/utils/AutoLock.h header
into its own shared/AutoLocker.h. It can be used by userland code too.
* Removed headers/private/shared/ObjectLocker.h and replaced all uses of
BObjectLocker by AutoLocker.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20432 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 18f5cd171bc62a0bf90c48f3a07a8f6e2f8b2297 09-Sep-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Explicitly denote BPrivate to avoid clashes


# b0c7d4fa15667218f7c24bc840a601b16107f52b 13-May-2009 Axel Dörfler <axeld@pinc-software.de>

* Removed operator=(otherLocker) again. Didn't really make sense this way,
as Stippi correctly pointed out.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30748 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 49dcde5cf5d92f1da8d8d375405515c0a40a97d3 13-May-2009 Axel Dörfler <axeld@pinc-software.de>

* Added operator=().
* Style cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30740 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a3ff5c056145296c4d146648c7d722931b9919f8 24-Mar-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added missing inclusion of <stddef.h>.
* Added AutoLocker constructor with the locking strategy as parameter.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29685 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 590c0d667cc11b23314218f02bbfedce43a86ee0 30-May-2008 Stephan Aßmus <superstippi@gmx.de>

Darn... should have been part of my last commit:
Export the Read/Write locking strategies from the BPrivate namespace. Fixes
Icon-O-Matic build (RWLocker).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25721 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1221a4f200c2edbc781cd41eca31a9ac9c233946 01-Oct-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Allow derived classes to access the member variables.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22399 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fed5bce4e316fdf27032b25039faaca3e75c5fa2 01-Sep-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

Made SetTo() deal with the lockable == NULL, alreadyLocked == true
correctly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22142 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 2b2ec4382a637811afeb5a4fa812052aef2779c6 26-Mar-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

* Moved the AutoLocker class out of the kernel/utils/AutoLock.h header
into its own shared/AutoLocker.h. It can be used by userland code too.
* Removed headers/private/shared/ObjectLocker.h and replaced all uses of
BObjectLocker by AutoLocker.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20432 a95241bf-73f2-0310-859d-f6bbb57e9c96