Qt--The concept of process and thread, Qt multithreaded programming, synchronization between multiple threads

1. The concept of processes and threads A. Concepts of processesa. Programs are data files in computer storage systemsSource code programs--text files that describe program behavior and functionalityExecutable program--binary file, load and execute directlyThe concept of a process has two layers, broadly speaking, it refers to a running activi ...

Posted on Tue, 20 Aug 2019 18:11:39 -0700 by cvincent

Qt--Mutual exclusion between threads

1. Mutual exclusion between threads Critical Resources -- Resources that are accessed by only one thread at a timeMutual exclusion between threads -- multiple threads need access to critical resources at the same timeThe QMute class is a thread lock that guarantees mutually exclusive threads--using thread locks to secure critical resourcesKey ...

Posted on Tue, 20 Aug 2019 15:11:18 -0700 by naggi

Qt--Text Flow and Data Flow, Buffer Operation and Data Operation

1. Text Flow and Data Flow The file types mentioned in A.Qt are divided into two main categories1. Text File - The contents of the file are readable text characters2. Data Files - File contents are direct binary dataQFile directly supports reading and writing text files and data filesB.Qt provides auxiliary classes to simplify reading and writ ...

Posted on Tue, 13 Aug 2019 19:20:45 -0700 by illushinz

[python] Timing Task Framework APScheduler uses

brief introduction APScheduler implements all the functions of Quartz based on a Python timing task framework of Quartz, which is very convenient to use. Tasks based on dates, fixed intervals, and crontab types are provided, and tasks can be persisted. Based on these functions, we can easily implement ...

Posted on Thu, 01 Aug 2019 02:47:04 -0700 by yarin

Graphics of Qt (Conversion)

primary Graphics of Qt (Conversion) 21:24:55 on April 21, 2016 ...

Posted on Wed, 24 Jul 2019 02:22:35 -0700 by sub7av

Loading the Report of Listed Companies on the Stock Exchange in Batch

Listed Companies Report Search Page on the Shanghai Stock Exchange http://www.sse.com.cn/disclosure/listedinfo/announcement/ By looking at the interface invoked on the page, you can see that: Get all the stock codes on the Shanghai Stock Exchange http://www.sse.com.cn/js/common/ssesuggestdata.js Get ...

Posted on Fri, 19 Jul 2019 20:36:56 -0700 by samrat_php

How to split a Qt project into multiple Qt sub-projects

Title: How to split a Qt project into multiple Qt sub-projects Author: Kagula Date: 2017-04-26 Environment: Qt 5.6, Qt Creator 3.6.1 Preface When the Qt project becomes large in the development process, it needs to be split into one exe and several dll lib sub-projects. This paper presents a demonstration of how to achieve this goal.text ...

Posted on Fri, 05 Jul 2019 13:52:45 -0700 by oh_maestro

The difference between Su and su-

Catalog (?)[+] PATH Configuration File bashrc file bash_profile file Reference article: (Summary) Essential difference between su and su - commands under Linux __I've always been used to using su username to switch users, and I don't know what the difference between su and su - is. I always think it's no difference, but i ...

Posted on Mon, 03 Jun 2019 19:21:28 -0700 by satanclaus

Use of the QT-QPropertyAnimationdong animation class

Description: QPropertyAnimation (Animation class used to add animation to QObject objects) The inheritance block diagram for this class is as follows:   1.QAbstractAnimation (abstract base class for all animations) This abstract class provides QPropertyAnimation with abstract functions such as animation play, pause, stop, duration, cycle, ...

Posted on Tue, 21 May 2019 11:37:33 -0700 by xtheonex

[C++] 61_Smart Pointer Class Template

Intelligent pointer The Significance of Intelligent Pointer One of the most important class templates in modern C++ development libraries Main Means of Memory Management in C++ Ability to avoid memory-related problems to a large extent Memory leak Multiple memory release Intelligent Pointer auto_ptr in STL At the end of the life cycle, d ...

Posted on Sun, 19 May 2019 09:16:38 -0700 by nosheep