Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-109512

Documentation of QThread::setStackSize() wrong (on Unix)

    XMLWordPrintable

Details

    • Android, Linux/Wayland, Linux/X11, Linux/Yocto, Linux/Other display system
    • 3fc5ee5c2 (dev), 0de6328f0 (6.7)

    Description

      The doc states "Sets the maximum stack size for the thread to stackSize."

      However the implementation in qthread_unix.cpp uses

      pthread_attr_setstacksize()

      which describes this in the man page:

      "The stack size attribute determines the minimum size (in bytes)..."

      So: minimum, not maximum

      Attachments

        For Gerrit Dashboard: QTBUG-109512
        # Subject Branch Project Status CR V

        Activity

          People

            thiago Thiago Macieira
            mkoller Martin Koller
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes