Problemunvalidated
The behavior is that I expected is that each threads enqueues and deques in the sequential order that the threads used in enqueue the values, but this is not the case. — using `built-in java ArrayBlockingQueue` and `custom implementation`. Outcome: q.add(...) and q.poll() may alternate.
ae0119cf-d58f-482f-8491-39348d5380dc
The behavior is that I expected is that each threads enqueues and deques in the sequential order that the threads used in enqueue the values, but this is not the case. — using built-in java ArrayBlockingQueue and custom implementation. Outcome: q.add(...) and q.poll() may alternate.