rtcosscheduling_pcp_manager.i
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· I 代码 · 共 56 行
I
56 行
/* -*- C++ -*- */
//=============================================================================
/**
* @file RTCosScheduling_PCP_Manager.i
*
* RTCosScheduling_PCP_Manager.i,v 1.2 2003/10/15 08:20:45 jwillemsen Exp
*
* @author Matt Murphy <murphym@cs.uri.edu>
* @author based upon work by Greg Cooper
* @author University of Rhode Island
*/
//=============================================================================
/**
* Returns a pointer to the node containing the highest ceiling (the
* first node in the list of held locks)
*/
ACE_INLINE TAO::CosSchedulingLockNode *
TAO::CosSchedulingLockList::highest_ceiling()
{
return this->granted_->next();
}
/**
* Returns a pointer to the node with the highest priority
* (from the first node in the list of pending locks
*/
ACE_INLINE TAO::CosSchedulingLockNode *
TAO::CosSchedulingLockList::highest_priority()
{
return this->pending_->next();
}
/**
* Returns the mThreadID data member
*/
ACE_INLINE int
TAO::PCP_Manager::threadID()
{
return this->threadID_;
}
/**
* Creates a new PCP manager object using the lists and
* synchronization objects found in shared memory.
*/
ACE_INLINE TAO::PCP_Manager
TAO::PCP_Manager_Factory::New_PCP_Manager(RTCORBA::Current_var current)
{
return TAO::PCP_Manager(this->locks_, &this->mutex_, current);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?