Commit Graph

28 Commits

Author SHA1 Message Date
Nikolay Sivov 6d7aeedec2 rtworkq/tests: Build without WINE_NO_LONG_TYPES.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-07 13:53:31 +01:00
Nikolay Sivov cc1a9e2379 rtworkq: Fix long types warnings.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-31 18:38:55 +01:00
Alexandre Julliard f0cd33c69e include: Add support for defining Win32 types as 'long' where possible.
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Alexandre Julliard 088a787a2c makefiles: Make -mno-cygwin the default.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Nikolay Sivov 349b61cc98 rtworkq: Use CRT allocation functions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-21 21:00:33 +02:00
Nikolay Sivov d1d1e3f56f rtworkq: Partially implement shared queues.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-25 17:56:55 +01:00
Nikolay Sivov 1d7469d9a6 rtworkq: Add remaining queue management stubs.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-05 20:51:50 +02:00
Nikolay Sivov fde3bc0677 rtworkq: Invoke cancelled waiting item with RTWQ_E_OPERATION_CANCELLED.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-07 20:16:05 +02:00
Nikolay Sivov bb3d06760a rtworkq: Add MMCSS-related stubs.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-31 17:27:43 +02:00
Nikolay Sivov 83af1237a0 rtworkq: Add RtwqJoinWorkQueue()/RtwqUnjoinWorkQueue() stubs.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-31 17:27:40 +02:00
Nikolay Sivov b464695ab2 rtworkq: Change RtwqPutWorkItem() trace format for consistency.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-02 13:06:24 +01:00
Nikolay Sivov 4c4c893c30 rtworkq: Initialize MTA on startup.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-16 20:46:28 +01:00
Nikolay Sivov 5737cdc97d rtworkq: Add support for serial work queues.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-11 19:48:58 +01:00
Nikolay Sivov 9b1fac2dfd rtworkq: Initialize queue with specific set of functionality.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-11 19:48:54 +01:00
Nikolay Sivov b8805c1e7d rtworkq: Add a structure for queue initialization parameters.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-11 19:48:50 +01:00
Nikolay Sivov 570c969ee7 rtworkq: Store item priority and callback flags.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-11 19:48:45 +01:00
Nikolay Sivov a4143e211c rtworkq: Use IUnknown wrapper for work item management.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-11 19:48:39 +01:00
Nikolay Sivov 9f27848d90 rtworkq: Add deadline management stubs.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-06 09:24:54 +01:00
Nikolay Sivov 4e3e8f54ae rtworkq: Add partial implementation of RtwqLockSharedWorkQueue().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-06 09:24:51 +01:00
Nikolay Sivov baeb8c2d45 rtworkq: Add RtwqSetLongRunning().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-06 09:24:48 +01:00
Nikolay Sivov 0c91600efb rtworkq: Add RtwqAllocateWorkQueue().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-05 08:47:57 +01:00
Nikolay Sivov be4529146d rtworkq: Add periodic callbacks.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-05 08:47:54 +01:00
Nikolay Sivov 6f1d3c4e91 rtworkq: Add RtwqScheduleWorkItem().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-05 08:47:51 +01:00
Nikolay Sivov b8f94f7ef5 rtworkq: Add RtwqCancelWorkItem().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-05 08:47:48 +01:00
Nikolay Sivov e9e087fdbb rtworkq: Add RtwqPutWaitingWorkItem().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-05 08:47:45 +01:00
Nikolay Sivov 9ca02920f1 rtworkq: Add RtwqStartup()/RtwqShutdown().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-05 08:47:41 +01:00
Nikolay Sivov fa420eddba rtworkq: Add RtwqCreateAsyncResult().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-05 08:47:38 +01:00
Nikolay Sivov 92427f3a32 rtworkq: Add a stub dll.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-05 08:47:27 +01:00