History log of /haiku/src/tests/add-ons/kernel/kernelland_emu/condition_variable.cpp
Revision Date Author Comments
# 387fe2d9 25-Jul-2023 Augustin Cavalier <waddlesplash@gmail.com>

userlandfs: Adjust following ConditionVariable changes.


# 1728b8c7 01-Mar-2020 Augustin Cavalier <waddlesplash@gmail.com>

kernel: Rework ConditionVariableEntry destruction.

It is no longer an error to destroy a ConditionVariableEntry
that is still attached to a ConditionVariable; it will
now be implicitly detached in that case.

This makes ConditionVariableEntrys much eaiser to use
from an API standpoint.

Change-Id: I03c676d3a198aa885de733d3e1729b15f80de031
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2301
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 2f1e2ae4 03-Aug-2019 Augustin Cavalier <waddlesplash@gmail.com>

kernelland_emu: Adapt to new ConditionVariable API.

This could use some optimizations, but it's only used by
userlandfs for now.


# ffba6606 29-Mar-2015 Michael Lotz <mmlr@mlotz.ch>

UserlandFS: Make 64 bit clean and enable build for x86_64.

I did not bother to fix the BeOS kernel emulation, so this part is
still left out of the x86_64 build.


# 604770b3 11-Jul-2014 Julian Harnath <julian.harnath@rwth-aachen.de>

Adapt kernelland_emu to kernel API changes

* Adapt to changes in kernel synchronization APIs.

* Makes userlandfs work again.


# 4f5d9ca6 22-Oct-2009 Michael Lotz <mmlr@mlotz.ch>

Fix libkernelland_emu build after ConditionVariable and devfs changes.


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


# 5147963d 26-Jul-2009 Stephan Aßmus <superstippi@gmx.de>

headers/private/kernel/util/OpenHashTable.h, Hugo's version, is a bit nicer than
Tracker's OpenHashTable.h which it should eventually replace. We've renamed the
class to BOpenHashTable and changed the interface slightly so that HashTableLink
became superfluous.
Adapted all the code that used it. Since the OpenHashTables no longer clash,
this should fix the GCC4 build.


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


# cc586449 08-Mar-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Split misc.cpp further.
* Removed user_strcpy() (it doesn't exist in the kernel) and reimplemented
user_{memcpy,strlcpy}().
* Added kernel_debugger().


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


# 20bc3710 08-Mar-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Replaced the broken condition variable implementation (the
sConditionVariablesLock is needed) with the one I used for the UserlandFS,
which is a slightly adjusted kernel version.
* Got rid of sThreadsLock. It's not necessary and didn't work like used anyway.


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


# 52c8e07f 08-Mar-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Broke kernelland_emu.cpp into several source files.


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


# ffba66060b0155c987fc2232b803b243610c6430 29-Mar-2015 Michael Lotz <mmlr@mlotz.ch>

UserlandFS: Make 64 bit clean and enable build for x86_64.

I did not bother to fix the BeOS kernel emulation, so this part is
still left out of the x86_64 build.


# 604770b31331951e0f9b44b368c21dc2b004d920 11-Jul-2014 Julian Harnath <julian.harnath@rwth-aachen.de>

Adapt kernelland_emu to kernel API changes

* Adapt to changes in kernel synchronization APIs.

* Makes userlandfs work again.


# 4f5d9ca63daa486979b310de2158abbf1b8a8399 22-Oct-2009 Michael Lotz <mmlr@mlotz.ch>

Fix libkernelland_emu build after ConditionVariable and devfs changes.


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


# 5147963dcd57fefa4f63c484eb88e9eaf4002976 26-Jul-2009 Stephan Aßmus <superstippi@gmx.de>

headers/private/kernel/util/OpenHashTable.h, Hugo's version, is a bit nicer than
Tracker's OpenHashTable.h which it should eventually replace. We've renamed the
class to BOpenHashTable and changed the interface slightly so that HashTableLink
became superfluous.
Adapted all the code that used it. Since the OpenHashTables no longer clash,
this should fix the GCC4 build.


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


# cc586449f76ad8d9d0d8f4724ac6193c9816d379 08-Mar-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Split misc.cpp further.
* Removed user_strcpy() (it doesn't exist in the kernel) and reimplemented
user_{memcpy,strlcpy}().
* Added kernel_debugger().


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


# 20bc3710829d7f170c2614aa7e9ca131cd7675b4 08-Mar-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* Replaced the broken condition variable implementation (the
sConditionVariablesLock is needed) with the one I used for the UserlandFS,
which is a slightly adjusted kernel version.
* Got rid of sThreadsLock. It's not necessary and didn't work like used anyway.


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


# 52c8e07fde35f1bea1e53f5df1dabfc6f523b8fd 08-Mar-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Broke kernelland_emu.cpp into several source files.


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