// -*- Mode: C++; -*-
//                              File      : RDIThreadPriority.h
//                              Package   : omniNotify-Library
//                              Created on: 1-Jan-1998
//                              Authors   : gruber&panagos
//
//    Copyright (C) 1998-2001 AT&T Laboratories -- Research
//
//    This file is part of the omniNotify library
//    and is distributed with the omniNotify release.
//
//    The omniNotify library is free software; you can redistribute it and/or
//    modify it under the terms of the GNU Library General Public
//    License as published by the Free Software Foundation; either
//    version 2 of the License, or (at your option) any later version.
//
//    This library is distributed in the hope that it will be useful,
//    but WITHOUT ANY WARRANTY; without even the implied warranty of
//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
//    Library General Public License for more details.
//
//    You should have received a copy of the GNU Library General Public
//    License along with this library; if not, write to the Free
//    Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
//    02111-1307, USA
//
//
// Description:
//    proprietary interface
//
 
/*
$Log: RDIThreadPriority.h,v $
Revision 1.6  2001/06/26 20:01:10  alcfp
updated copyright notices, added support for omniORB4, switched default to POA

Revision 1.5  2000/08/22 18:23:51  alcfp
added description to each file

Revision 1.4  2000/08/16 20:19:19  alcfp
Added licensing notice to each .h and .cc file where library files get GLPL notice and daemon file gets GPL notice -- examples do not claim any license but point out that the library and daemon code does have a license notice

*/
 
#ifndef _RDI_THREAD_PRIORITY_H_
#define _RDI_THREAD_PRIORITY_H_

// ------------------------------------------------------------------ //
// thread priorities:  How to deal with priority inversion --
//   what happens when a low priority thread holds a mutex that
//   is needed by a higher priority thread?  
// ------------------------------------------------------------------ //

//#define RDI_NOTIFY_WORKER_PRIORITY omni_thread::PRIORITY_HIGH

#define RDI_NOTIFY_WORKER_PRIORITY  omni_thread::PRIORITY_NORMAL
#define RDI_PULL_WORKER_PRIORITY    omni_thread::PRIORITY_NORMAL
#define RDI_CHANNEL_WORKER_PRIORITY omni_thread::PRIORITY_NORMAL
#define RDI_EVENT_QUEUE_PRIORITY    omni_thread::PRIORITY_NORMAL

#endif  /* _RDI_THREAD_PRIORITY_H_ */

