Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qrandomaccessasyncfile_threadpool.cpp File Reference

(aeba91106923d392e90f8047c25bc1f1fbfd09ee)

#include "qrandomaccessasyncfile_p_p.h"
#include "qiooperation_p.h"
#include "qiooperation_p_p.h"
#include <QtCore/qfuture.h>
#include <QtCore/qthread.h>
#include <QtCore/qthreadpool.h>
Include dependency graph for qrandomaccessasyncfile_threadpool.cpp:

Go to the source code of this file.

Classes

class  QT_BEGIN_NAMESPACE::SharedThreadPool

Namespaces

namespace  QT_BEGIN_NAMESPACE
 Combined button and popup list for selecting options.

Functions

 QT_REQUIRE_CONFIG (thread)
 QT_REQUIRE_CONFIG (future)
static QRandomAccessAsyncFilePrivate::OperationResult executeRead (QFSFileEngine *engine, QBasicMutex *mutex, qint64 offset, char *buffer, qint64 maxSize)
static QRandomAccessAsyncFilePrivate::OperationResult executeWrite (QFSFileEngine *engine, QBasicMutex *mutex, qint64 offset, const char *buffer, qint64 size)

Variables

static SharedThreadPool QT_BEGIN_NAMESPACE::asyncFileThreadPool

Function Documentation

◆ executeRead()

QRandomAccessAsyncFilePrivate::OperationResult executeRead ( QFSFileEngine * engine,
QBasicMutex * mutex,
qint64 offset,
char * buffer,
qint64 maxSize )
static

Definition at line 281 of file qrandomaccessasyncfile_threadpool.cpp.

◆ executeWrite()

QRandomAccessAsyncFilePrivate::OperationResult executeWrite ( QFSFileEngine * engine,
QBasicMutex * mutex,
qint64 offset,
const char * buffer,
qint64 size )
static

Definition at line 303 of file qrandomaccessasyncfile_threadpool.cpp.

◆ QT_REQUIRE_CONFIG() [1/2]

QT_REQUIRE_CONFIG ( future )

◆ QT_REQUIRE_CONFIG() [2/2]

QT_REQUIRE_CONFIG ( thread )