Results 1 to 2 of 2

Thread: typedef for Monitor?

  1. #1
    acbell is offline Registered User
    Name: Andrew Bell
    Organization: Iowa State University
    Project: National Resources Inventory
    Join Date
    Jan 2005
    Location
    Ames, IA, USA
    Posts
    89

    typedef for Monitor?

    Hi,

    Is there a reason why IceUtil::Monitor<> doesn't have typedefs for the type of mutex that is used? Seems like it would be handy to have:

    IceUtil::<insert something here>Monitor (for IceUtil::Mutex as the template param)
    IceUtil::RecMonitor
    IceUtil::RWRecMonitor

    Thanks,

  2. #2
    marc's Avatar
    marc is offline ZeroC Staff
    Name: Marc Laukien
    Organization: ZeroC, Inc.
    Project: The Internet Communications Engine
    Join Date
    Feb 2003
    Location
    Florida
    Posts
    1,860
    There is no specific reason, except for our dislike for typedefs Anyway, you can simply add such typedefs in your application code.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Connection Monitor
    By nbasu33 in forum Help Center
    Replies: 2
    Last Post: 07-31-2007, 12:41 PM
  2. IceUtil Monitor problem
    By timberwolf in forum Help Center
    Replies: 4
    Last Post: 04-17-2006, 11:13 PM
  3. what can Monitor::wait() throw?
    By andhow in forum Help Center
    Replies: 4
    Last Post: 02-21-2005, 08:26 AM
  4. Queue example and IceUtil::Monitor
    By RyanFogarty in forum Help Center
    Replies: 6
    Last Post: 12-08-2004, 01:51 PM
  5. using Monitor segfaults
    By timruijs in forum Help Center
    Replies: 2
    Last Post: 07-19-2004, 10:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •