| Issue 25: | Missing enter/exit blocking calls. | |
| 1 person starred this issue and may be notified of changes. | Back to list |
I played around with hxcpp and realized that it is trivial to adapt the code of haxe.remoting.SocketProtocol such that it works with the C++ backend as well, because the cpp.net and neko.net APIs are similar enough for the Neko specific code in the SocketProtocol class to be reused as is. During the same experiments I also saw that several functions in the hxcpp socket runtime library call only gc_enter_blocking or only gc_exit_blocking without a call to the symmetric counterpart, which is probably incorrect. I attach a patch to this message that makes haxe.remoting.SocketProtocol work with the C++ backend and fixes the garbage collector calls in the hxcpp socket runtime.
Aug 4, 2010
Project Member
#1
gameh...@gmail.com
Status:
Fixed
|