History log of /haiku/src/add-ons/kernel/generic/dpc/dpc.c
Revision Date Author Comments
# c75ca47d 15-Sep-2013 Jerome Duval <jerome.duval@gmail.com>

dpc: fix comments spelling.


# c11cdf8d 15-Sep-2013 Jerome Duval <jerome.duval@gmail.com>

dpc: fix comments spelling.


# 31474cca 27-Dec-2010 Fredrik Holmqvist <fredrik.holmqvist@gmail.com>

More of the same.

Postfix/prefix increment evaluation order is not changed by parantheses. Use '+ 1' for readability instead. CID 2982.


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


# 0ef0a587 27-Dec-2010 Fredrik Holmqvist <fredrik.holmqvist@gmail.com>

Postfix/prefix increment evaluation order is not changed by parantheses. Use '+ 1' for readability instead. CID 2983.


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


# d3166e46 29-Apr-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Replaced no longer necessary send_signal_etc() work-arounds for
resume_thread().


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


# e1bef3de 14-Apr-2010 Axel Dörfler <axeld@pinc-software.de>

* Use send_signal_etc() instead of resume_thread() to prevent immediate
rescheduling; this allows DPC queues to be created before the scheduler is
running.
* Removed BeOS R5 support.
* Minor cleanup.


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


# 1c8de858 01-Jun-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added optional spinlock contention measurement feature. Enabled when
B_DEBUG_SPINLOCK_CONTENTION is defined to 1. It typedefs spinlock to a
structure (thus breaking BeOS binary compatibility), containing a
counter which is incremented whenever a thread has to wait for the
spinlock.
* Added macros for spinlock initialization and access and changed
code using spinlocks accordingly. This breaks compilation for BeOS --
the macros should be defined in the respective compatibility wrappers.
* Added generic syscall to get the spinlock counters for the thread and
the team spinlocks.


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


# 6198a979 06-Feb-2008 Philippe Houdoin <philippe.houdoin@gmail.com>

Made DPC module binary compatible with BeOS one.


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


# e659b952 11-Jul-2007 Philippe Houdoin <philippe.houdoin@gmail.com>

Changed snprintf() (un)availability test from COMPILE_FOR_R5 to
__HAIKU__.


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


# af1c1a0a 14-Jan-2007 Philippe Houdoin <philippe.houdoin@gmail.com>

Renamed the public api to underline the DPC *queue* mechanism handled.
Pending DPCs at queue death time are now called too, to avoid possible leaks.
Meanwhile, queue_dpc() will refuse to add another DPC and returns B_CANCELLED.


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


# a5347f68 10-Jan-2007 Philippe Houdoin <philippe.houdoin@gmail.com>

Moved public interface into its own header file.
Fixed most obvious issues, as reported by Marcus and Axel.


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


# daf593cf 09-Jan-2007 Philippe Houdoin <philippe.houdoin@gmail.com>

Late cleanup a bit before actually going to bed. Good night world.


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


# 7d2635cb 09-Jan-2007 Philippe Houdoin <philippe.houdoin@gmail.com>

Completed an UNTESTED implementation. Did I say it was untested already?!
Until, it's obvioulsy not ready for prime time: using it to queue AcpiOsExecute() event/method callbacks...


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


# b795f04c 09-Jan-2007 Philippe Houdoin <philippe.houdoin@gmail.com>

Replaced overkilling sprintf() usage.


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


# f4c47853 09-Jan-2007 Philippe Houdoin <philippe.houdoin@gmail.com>

Added a 50% work-in-progress (very few free time) generic Defered Procedure Call (DPC) kernel module.


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


# c75ca47d05137675026a329882cd9a102a06eecd 15-Sep-2013 Jerome Duval <jerome.duval@gmail.com>

dpc: fix comments spelling.


# c11cdf8d88cd93f11f2711623e17276ddaa57a17 15-Sep-2013 Jerome Duval <jerome.duval@gmail.com>

dpc: fix comments spelling.


# 31474ccaa0f7e4514e6936124e740b7414b16543 27-Dec-2010 Fredrik Holmqvist <fredrik.holmqvist@gmail.com>

More of the same.

Postfix/prefix increment evaluation order is not changed by parantheses. Use '+ 1' for readability instead. CID 2982.


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


# 0ef0a587b65ad260411d65aa87f564827d96cad9 27-Dec-2010 Fredrik Holmqvist <fredrik.holmqvist@gmail.com>

Postfix/prefix increment evaluation order is not changed by parantheses. Use '+ 1' for readability instead. CID 2983.


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


# d3166e469cd337a6910f1cb1515b74f73d36466f 29-Apr-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Replaced no longer necessary send_signal_etc() work-arounds for
resume_thread().


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


# e1bef3de004e54e413e5f4ae6d0e5ec8a8166769 14-Apr-2010 Axel Dörfler <axeld@pinc-software.de>

* Use send_signal_etc() instead of resume_thread() to prevent immediate
rescheduling; this allows DPC queues to be created before the scheduler is
running.
* Removed BeOS R5 support.
* Minor cleanup.


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


# 1c8de8581b66c14ea94bccd7ddcea99291955796 01-Jun-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added optional spinlock contention measurement feature. Enabled when
B_DEBUG_SPINLOCK_CONTENTION is defined to 1. It typedefs spinlock to a
structure (thus breaking BeOS binary compatibility), containing a
counter which is incremented whenever a thread has to wait for the
spinlock.
* Added macros for spinlock initialization and access and changed
code using spinlocks accordingly. This breaks compilation for BeOS --
the macros should be defined in the respective compatibility wrappers.
* Added generic syscall to get the spinlock counters for the thread and
the team spinlocks.


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


# 6198a9798e8b8eb0210a60ebedf2a839704e4dbe 06-Feb-2008 Philippe Houdoin <philippe.houdoin@gmail.com>

Made DPC module binary compatible with BeOS one.


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


# e659b9521f682dd423f9684346fb76eac895f248 11-Jul-2007 Philippe Houdoin <philippe.houdoin@gmail.com>

Changed snprintf() (un)availability test from COMPILE_FOR_R5 to
__HAIKU__.


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


# af1c1a0a03af61e12d9cab2aa16f17c1b783d89e 14-Jan-2007 Philippe Houdoin <philippe.houdoin@gmail.com>

Renamed the public api to underline the DPC *queue* mechanism handled.
Pending DPCs at queue death time are now called too, to avoid possible leaks.
Meanwhile, queue_dpc() will refuse to add another DPC and returns B_CANCELLED.


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


# a5347f68f84bc1f7144869cd3a0937645e149c58 10-Jan-2007 Philippe Houdoin <philippe.houdoin@gmail.com>

Moved public interface into its own header file.
Fixed most obvious issues, as reported by Marcus and Axel.


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


# daf593cf9c31b31ab6577910dca105917c1992e3 09-Jan-2007 Philippe Houdoin <philippe.houdoin@gmail.com>

Late cleanup a bit before actually going to bed. Good night world.


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


# 7d2635cbc08d2f4f048c143cc0103479f077ed3d 09-Jan-2007 Philippe Houdoin <philippe.houdoin@gmail.com>

Completed an UNTESTED implementation. Did I say it was untested already?!
Until, it's obvioulsy not ready for prime time: using it to queue AcpiOsExecute() event/method callbacks...


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


# b795f04c46565f24265c3b40c84e0ea4a61739cc 09-Jan-2007 Philippe Houdoin <philippe.houdoin@gmail.com>

Replaced overkilling sprintf() usage.


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


# f4c47853ac8eeedf79161f394baa7137f7ec4e0c 09-Jan-2007 Philippe Houdoin <philippe.houdoin@gmail.com>

Added a 50% work-in-progress (very few free time) generic Defered Procedure Call (DPC) kernel module.


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