RTThreadPreemptIsPending-r0drv-generic.cpp revision 579d16f42153cc900d8bfdca6477abeb2d2c029c
97a9a944b5887e91042b019776c41d5dd74557aferikabele/* $Id$ */
97a9a944b5887e91042b019776c41d5dd74557aferikabele/** @file
fd9abdda70912b99b24e3bf1a38f26fde908a74cnd * IPRT - RTThreadPreemptIsPending, Generic ring-0 driver implementation.
fd9abdda70912b99b24e3bf1a38f26fde908a74cnd */
fd9abdda70912b99b24e3bf1a38f26fde908a74cnd
a945f35eff8b6a88009ce73de6d4c862ce58de3cslive/*
a945f35eff8b6a88009ce73de6d4c862ce58de3cslive * Copyright (C) 2008 Sun Microsystems, Inc.
a945f35eff8b6a88009ce73de6d4c862ce58de3cslive *
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd * This file is part of VirtualBox Open Source Edition (OSE), as
96ad5d81ee4a2cc66a4ae19893efc8aa6d06fae7jailletc * available from http://www.virtualbox.org. This file is free software;
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd * you can redistribute it and/or modify it under the terms of the GNU
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd * General Public License (GPL) as published by the Free Software
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen * Foundation, in version 2 as it comes in the "COPYING" file of the
2e545ce2450a9953665f701bb05350f0d3f26275nd * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen *
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd * The contents of this file may alternatively be used under the terms
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd * of the Common Development and Distribution License Version 1.0
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
af33a4994ae2ff15bc67d19ff1a7feb906745bf8rbowen * VirtualBox OSE distribution, in which case the provisions of the
3f08db06526d6901aa08c110b5bc7dde6bc39905nd * CDDL are applicable instead of those of the GPL.
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd *
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd * You may elect to license modified versions of this file under the
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd * terms and conditions of either the GPL or the CDDL or both.
3f08db06526d6901aa08c110b5bc7dde6bc39905nd *
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd * Clara, CA 95054 USA or visit http://www.sun.com if you need
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd * additional information or have any questions.
a78048ccbdb6256da15e6b0e7e95355e480c2301nd */
0066eddda7203f6345b56f77d146a759298dc635gryzor
7f5b59ccc63c0c0e3e678a168f09ee6a2f51f9d0nd/*******************************************************************************
1d980e5489836e977ba59b419e27b0ec875c4bd3takashi* Header Files *
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjung*******************************************************************************/
3b3b7fc78d1f5bfc2769903375050048ff41ff26nd#include <iprt/thread.h>
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd#include <iprt/assert.h>
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4ndRTDECL(bool) RTThreadPreemptIsPending(RTTHREAD hThread)
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd{
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd Assert(hThread == NIL_RTTHREAD);
0c4abc32c00611fe1d52c9661f5cc79a3f74c6d4nd return false;
06ba4a61654b3763ad65f52283832ebf058fdf1cslive}
06ba4a61654b3763ad65f52283832ebf058fdf1cslive
06ba4a61654b3763ad65f52283832ebf058fdf1cslive