Moonpool_private.Ws_deque_Work-stealing deque.
Adapted from "Dynamic circular work stealing deque", Chase & Lev.
However note that this one is not dynamic in the sense that there is no resizing. Instead we return false when push fails, which keeps the implementation fairly lightweight.
val create : dummy:'a -> unit -> 'a tCreate a new deque.
val push : 'a t -> 'a -> boolPush value at the bottom of deque. returns true if it succeeds. This must be called only by the owner thread.
val pop : 'a t -> 'a optionPop value from the bottom of deque. This must be called only by the owner thread.
val steal : 'a t -> 'a optionTry to steal from the top of deque. This is thread-safe.
val size : _ t -> int