Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-8539

User object manager improvements

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Major
    • 0.3.17
    • Win32SS

    Description

      For further work on cursoricon_new, I need a proper way to delete object when they are not referenced anymore. The need arises because a cursor can be in use when a process dies, and there needs to be a way to cleanly wait for the cursor to be detached before completely dropping everything.

      Also, I believe that inter-object references ar quite of a mess right now on the user-side of win32ss, so let's take this as an occasion to slap a bit of sense into it.

      Here is a first patch patch which is not too invasive . The only notable thing here is the use of callbacks to allocate objects, and also that, now, a thread cannot be deleted if there are still handles which belong to it (See the IntReferenceThreadInfo / IntDereferenceThreadInfo calls in object.c).

      A CR will be created as I progress on this issue.

      Attachments

        Activity

          People

            Smiley Giannis Adamopoulos
            zefklop jgardou
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: