RealyUniqueName / StablexNet

[DEPRECATED] Crossplatform socket abstraction for Haxe NME
33 stars 3 forks source link

Thread.current() == this._worker always return false #3

Open alijaya opened 9 years ago

alijaya commented 9 years ago

Why is it? If I write untyped Thread.current().handle == this._worker.handle will return true

RealyUniqueName commented 9 years ago

Perhaps, you're doing it in another thread?

Also, please, keep in mind this projects is not supported and not updated for at least 2 years so it might not work as expected with current Haxe version.

alijaya commented 9 years ago

No it's on the same thread... Thread.current() == Thread.current() return false too, maybe the newer haxe version has the bug...

Btw, do you know library similar like this? Thanks...

RealyUniqueName commented 9 years ago

There is another abstraction lib: https://github.com/Dvergar/qookie

alijaya commented 9 years ago

Thank you... much appreciated :D