Results 1 to 2 of 2

Thread: Documentation bug: Timer and Timer Task

  1. #1
    beagles's Avatar
    beagles is offline Registered User
    Name: Brent Eagles
    Organization: Eagles Technologies Inc
    Project: Asterisk SCF
    Join Date
    Feb 2003
    Location
    Newfoundland
    Posts
    111

    Documentation bug: Timer and Timer Task

    The current Timer and TimerTask documentation in the Ice Manual contains some errors with respect to the current version of Ice (3.4.2).
    • The fourth and fifth paragraphs from the bottom are incorrect with respect to once-only tasks. The code appears to treat once-only tasks in a manner similar to repeated tasks; calling cancel() on a once-only task does indeed prevent it from executing and will return true if it succeeds in doing so.
    • The last paragraph indicates that calling schedule or scheduleRepeated on a destroyed timer does nothing, yet both these functions throw an IllegalArgumentException if this occurs.
    Cheers,

    Brent
    Brent Eagles
    Digium/Eagles Technologies Inc
    St. John's, NL

    Project(s): Asterisk SCF

  2. #2
    benoit's Avatar
    benoit is online now ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Hi Brent,

    Thanks for the report, I've fixed the documentation!

    Cheers,
    Benoit.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [C++] crash using IceUtil::Timer
    By MKroehnert in forum Help Center
    Replies: 2
    Last Post: 09-07-2011, 01:22 PM
  2. Timer and Mutex/Monitor Question
    By billg in forum Help Center
    Replies: 1
    Last Post: 07-21-2011, 10:22 AM
  3. Exceptions can escape from IceUtil::Timer::run
    By andy_84 in forum Bug Reports
    Replies: 1
    Last Post: 11-18-2010, 03:33 AM
  4. Monotonic Timer in ICE for .NET
    By kwaclaw in forum Comments
    Replies: 2
    Last Post: 04-03-2008, 10:26 PM
  5. IceStorm/ Timer Service ideas
    By stephan in forum Help Center
    Replies: 5
    Last Post: 10-27-2003, 05:53 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
  •