/*
* Copyright (c) 2005-2006 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  POSIX implementation of pthread on Symbian
*
*/

#include "condvartypes.h"

EXPORT_C int pthread_cond_init(pthread_cond_t *cond, 
                               const pthread_condattr_t * /*cond_attr*/)
{
    if(!cond)
    {
        return EINVAL;
    }
    _QueueInit(&cond->iQueue);
    cond->iState = _EInitialized;
    return 0;
}


//End of File

