Igor Kushnir
61cd245037
Document ConcurrentQueue and de-inline its implementation
...
ConcurrentQueue is currently used only by two classes and a test, but
modifying concurrent_queue.h requires recompiling 30 source files. None
of the member functions is so lightweight as to make it worth inlining.
An alternative to `@note ConcurrentQueue is unable to execute jobs if
@p threadCount == 0.` is `assert(threadCount != 0);`. But this would
force classes that contain a ConcurrentQueue data member to always start
a thread, even if they detect at runtime that they are never going to
enqueue a job.
Add Job type alias to avoid repeating the type.
Use default member initializers instead of the member initializer list
to make it clear [to the reader of the header] that no data member is
left uninitialized.
2021-12-29 09:36:44 +01:00
..
2021-12-28 17:48:35 +01:00
2021-12-29 09:36:44 +01:00
2021-12-27 16:25:43 +01:00
2021-11-02 11:02:32 +01:00
2021-10-19 00:00:09 +02:00
2021-10-18 21:56:52 +02:00
2021-12-26 20:26:16 +01:00
2021-10-18 21:56:52 +02:00
2021-10-18 21:56:52 +02:00
2021-10-18 21:56:52 +02:00
2021-10-19 00:00:09 +02:00
2021-10-18 21:56:52 +02:00
2021-10-19 00:00:09 +02:00
2021-10-18 21:56:52 +02:00
2021-10-18 21:56:52 +02:00
2021-03-13 15:33:34 +02:00
2021-03-13 15:33:34 +02:00
2021-10-18 21:56:52 +02:00
2021-10-18 21:56:52 +02:00
2021-10-18 21:56:52 +02:00
2021-10-18 21:56:52 +02:00
2021-10-18 21:56:52 +02:00
2021-10-19 00:00:09 +02:00
2021-10-18 21:56:52 +02:00
2021-10-18 21:56:52 +02:00
2021-10-18 21:56:52 +02:00
2021-10-18 21:56:52 +02:00
2021-10-19 00:00:09 +02:00
2021-10-18 21:56:52 +02:00
2021-05-28 19:34:24 +02:00
2021-05-28 19:34:24 +02:00
2021-03-09 21:32:23 +01:00
2021-10-18 21:56:52 +02:00
2021-10-18 21:56:52 +02:00
2021-10-19 00:00:09 +02:00
2021-09-27 15:39:59 +02:00
2021-10-18 21:56:52 +02:00
2021-03-13 15:33:38 +02:00
2021-06-26 00:39:05 +01:00
2021-10-18 21:56:52 +02:00
2021-09-27 15:31:49 +02:00
2021-05-27 18:48:52 +02:00
2021-05-27 18:48:52 +02:00
2021-10-19 00:00:09 +02:00
2021-10-18 21:56:52 +02:00
2021-10-19 00:00:09 +02:00
2021-10-18 21:56:52 +02:00
2021-10-18 21:56:52 +02:00
2021-10-19 00:00:09 +02:00
2021-10-19 00:00:09 +02:00
2021-10-18 21:56:52 +02:00
2021-10-18 21:56:52 +02:00
2021-12-26 20:22:35 +01:00
2021-12-26 20:22:35 +01:00
2021-10-19 00:00:09 +02:00
2021-10-18 21:56:52 +02:00
2021-10-19 00:00:09 +02:00
2021-05-28 19:34:24 +02:00
2021-10-19 00:00:09 +02:00
2021-09-27 15:32:39 +02:00
2021-10-19 00:00:09 +02:00
2021-09-27 15:28:47 +02:00
2021-10-18 21:56:52 +02:00
2021-03-13 15:08:33 +02:00
2021-10-18 21:56:52 +02:00
2021-10-18 21:56:52 +02:00
2021-10-18 21:56:52 +02:00
2021-10-18 21:56:52 +02:00
2021-10-18 21:56:52 +02:00
2021-10-18 21:56:52 +02:00
2021-10-18 21:56:52 +02:00
2021-10-19 00:00:09 +02:00
2021-10-18 21:56:52 +02:00
2021-12-26 17:33:04 +01:00
2021-10-18 21:56:52 +02:00
2021-10-18 21:56:52 +02:00
2021-10-18 21:56:52 +02:00
2021-03-09 18:22:52 +01:00
2021-03-09 18:22:52 +01:00
2021-03-09 18:22:52 +01:00
2021-03-09 18:22:52 +01:00
2021-03-09 18:22:52 +01:00
2021-03-09 18:22:52 +01:00
2021-03-09 18:22:52 +01:00
2021-03-09 18:22:52 +01:00
2021-03-09 18:22:52 +01:00
2021-05-09 11:55:52 +02:00
2021-12-29 09:36:44 +01:00