Review Request 116699: No longer use pid_t or Q_PID
David Faure
faure at kde.org
Wed Mar 12 07:36:41 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116699/#review52716
-----------------------------------------------------------
Ship it!
So getpid() actually exists on Windows?
And it returns an int?
It sounds to me like this typedef could actually go into qplatformdefs.h or qglobal.h (with a different name), and we could have a QProcess::currentProcessId() wrapper for getpid(), but meanwhile this is OK.
- David Faure
On March 10, 2014, 5:51 p.m., Alexander Richardson wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/116699/
> -----------------------------------------------------------
>
> (Updated March 10, 2014, 5:51 p.m.)
>
>
> Review request for KDE Frameworks and David Faure.
>
>
> Repository: kio
>
>
> Description
> -------
>
> No longer use pid_t or Q_PID
>
> Instead use a new typedef KIO::ProcessId. This is needed for Windows where
> pid_t doesn't exist and Q_PID is actually a pointer to a structure
>
>
> Diffs
> -----
>
> src/core/global.h 7814a52c9656719d301ebd012434a53491ffe159
> src/core/idleslave.h d3e7add4460d38212858666afa22deb3e5ef8687
> src/core/idleslave.cpp 31d145e5d5e0c4205eb7deec6de7677061bb8a25
> src/core/scheduler.h 593174e770d24c6ef813d91dfb6d6ed716bba4f9
> src/core/scheduler.cpp 5a4ad310e34587249e0b50c67e011d516858e130
> src/core/slave.h e4a443d191faefa535072d3821bb84cb6ab55909
> src/core/slave.cpp 404a0c20f57e7c2badd7ac9c1294224d59960f7c
> src/core/slavebase.cpp a32c6b6ad2b803e24c1db75321aefb916678c03d
> src/core/slaveinterface.h 1ee7c1aebbf29271da605f33a5587974a4e71a5b
> src/core/slaveinterface.cpp f8d7d52864ab6dd11316a1252fbd1e372f7f9ee2
> src/widgets/krun.cpp 34708cc5a4b4cf3627deb750020104dd3593ef92
> src/widgets/krun_p.h cf44e327e6d5bac0fa69b989bd6036380fc5180c
>
> Diff: https://git.reviewboard.kde.org/r/116699/diff/
>
>
> Testing
> -------
>
> tests still pass
>
>
> Thanks,
>
> Alexander Richardson
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140312/4a91551f/attachment.html>
More information about the Kde-frameworks-devel
mailing list