mirror of
https://github.com/wolfpld/tracy
synced 2025-04-30 04:43:53 +00:00
All enqueue operations are performed with a token.
This commit is contained in:
parent
e04e1580c4
commit
6092c695bd
@ -303,7 +303,7 @@ struct ConcurrentQueueDefaultTraits
|
|||||||
// Note that the hash is resized every time it becomes half full.
|
// Note that the hash is resized every time it becomes half full.
|
||||||
// Must be a power of two, and either 0 or at least 1. If 0, implicit production
|
// Must be a power of two, and either 0 or at least 1. If 0, implicit production
|
||||||
// (using the enqueue methods without an explicit producer token) is disabled.
|
// (using the enqueue methods without an explicit producer token) is disabled.
|
||||||
static const size_t INITIAL_IMPLICIT_PRODUCER_HASH_SIZE = 32;
|
static const size_t INITIAL_IMPLICIT_PRODUCER_HASH_SIZE = 0;
|
||||||
|
|
||||||
// Controls the number of items that an explicit consumer (i.e. one with a token)
|
// Controls the number of items that an explicit consumer (i.e. one with a token)
|
||||||
// must consume before it causes all consumers to rotate and move on to the next
|
// must consume before it causes all consumers to rotate and move on to the next
|
||||||
|
Loading…
x
Reference in New Issue
Block a user