Added WaitObjectListener destructor. Hopefully fixes the gcc 2 build.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30346 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2009-04-23 14:53:18 +00:00
parent 227fe7d34a
commit a7ccfc910c
2 changed files with 7 additions and 0 deletions

View File

@ -68,6 +68,8 @@ NotifySchedulerListeners(
struct WaitObjectListener : DoublyLinkedListLinkImpl<WaitObjectListener> {
virtual ~WaitObjectListener();
virtual void SemaphoreCreated(sem_id id,
const char* name) = 0;
virtual void ConditionVariableInitialized(

View File

@ -10,6 +10,11 @@ WaitObjectListenerList gWaitObjectListeners;
spinlock gWaitObjectListenerLock = B_SPINLOCK_INITIALIZER;
WaitObjectListener::~WaitObjectListener()
{
}
/*! Add the given wait object listener. gWaitObjectListenerLock lock must be
held.
*/