sched.h revision 5b281ba489ca18f0380d7efc7a5108b606cce449
137N/A/* $Id$ */
137N/A/** @file
137N/A * IPRT - Internal RTSched header.
137N/A */
943N/A
137N/A/*
137N/A * Copyright (C) 2006-2007 Sun Microsystems, Inc.
919N/A *
919N/A * This file is part of VirtualBox Open Source Edition (OSE), as
919N/A * available from http://www.virtualbox.org. This file is free software;
919N/A * you can redistribute it and/or modify it under the terms of the GNU
919N/A * General Public License (GPL) as published by the Free Software
919N/A * Foundation, in version 2 as it comes in the "COPYING" file of the
919N/A * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
919N/A * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
919N/A *
919N/A * The contents of this file may alternatively be used under the terms
919N/A * of the Common Development and Distribution License Version 1.0
919N/A * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
919N/A * VirtualBox OSE distribution, in which case the provisions of the
919N/A * CDDL are applicable instead of those of the GPL.
919N/A *
919N/A * You may elect to license modified versions of this file under the
919N/A * terms and conditions of either the GPL or the CDDL or both.
137N/A *
137N/A * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
137N/A * Clara, CA 95054 USA or visit http://www.sun.com if you need
137N/A * additional information or have any questions.
493N/A */
137N/A
137N/A#ifndef ___internal_sched_h
962N/A#define ___internal_sched_h
137N/A
911N/A#include <iprt/thread.h>
962N/A#include "internal/process.h"
962N/A#include "internal/thread.h"
911N/A
137N/A__BEGIN_DECLS
137N/A
137N/A/**
137N/A * Calculate the scheduling properties for all the threads in the default
137N/A * process priority, assuming the current thread have the type enmType.
137N/A *
137N/A * @returns iprt status code.
137N/A * @param enmType The thread type to be assumed for the current thread.
137N/A */
493N/Aint rtSchedNativeCalcDefaultPriority(RTTHREADTYPE enmType);
137N/A
137N/A__END_DECLS
137N/A
493N/A#endif
137N/A