A note on the EventManager

From: Holger Hoffstätte (holge..izards.de)
Date: Fri Jun 27 2003 - 18:34:39 EDT

  • Next message: Holger Hoffstätte: "Re: DataPort example (Examples subproject?)"

    It recently dawned on me that the EventManager is not really deadlock-free
    since it won't take provisions against observers posting more
    notifications while a dispatch is running, resulting in an endless loop.
    NSNotificationQueue had something like an internal "isPostingEvents"
    barrier that, when true, would queue up incoming posting requests until
    the current loop had cleared. This directly raises the obvious question
    "how many?" :)
    Just something to think about for now.

    Holger



    This archive was generated by hypermail 2.0.0 : Fri Jun 27 2003 - 18:34:42 EDT