Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. <Solved>What is mThread?
Forum Updated to NodeBB v4.3 + New Features

<Solved>What is mThread?

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 909 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    cdbean04
    wrote on last edited by cdbean04
    #1

    I see in s alot of threading tutorials everyone uses mThread. Is mThread just an arbitrary name that people use, like when people just declare a number as i. Or does it have a predetermined meaning and purpose in Qt?

    JKSHJ 1 Reply Last reply
    0
    • C cdbean04

      I see in s alot of threading tutorials everyone uses mThread. Is mThread just an arbitrary name that people use, like when people just declare a number as i. Or does it have a predetermined meaning and purpose in Qt?

      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      @cdbean04 said:

      Is mThread just an arbitrary name that people use, like when people just declare a number as i.

      Yes. I think the "m" prefix is often used to represent "member variable".

      You can call your variable anything you want; it won't affect your program (but choosing a good name makes your code easier to understand)

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved