Deque

Deque<T>

package neko-vm

Available on macro, neko

A message queue for multithread access.

Constructor

new ()

Create a message queue for multithread access.

Methods

add (i:T ):Void

Add a message at the end of the queue.

pop (block:Bool):Null<T>

Pop a message from the queue head. Either block until a message is available or return immediately with null.

push (i:T ):Void

Add a message at the head of the queue.

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/neko/vm/Deque.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部