Thread send and read no longer implemented
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 40/100
Research direction
The stubs __hxcpp_thread_send and __hxcpp_thread_read_message live in src/hx/Thread.cpp, around line 171, where they now return Not Implemented. Start by checking the commit aef979a to see what was removed and how HXCPP_API_LEVEL is consulted. Done means the sample Thread.current().sendMessage("hello") runs on older Haxe versions without the error.
Written by the indexing model from the issue text.
Description
Since aef979acfdd002ad3aaa55cda180bff40170da28, __hxcpp_thread_send and __hxcpp_thread_read_message no longer implemented:
This is a breaking change and causes runtime errors with haxe 4.1 and below for programs that worked fine with hxcpp 4.3.2:
class Main {
static function main() {
sys.thread.Thread.current().sendMessage("hello");
}
}
$ haxe -main Main -cpp bin && bin/Main
Error : Not Implemented
We should keep some implementation for these until we drop support for HXCPP_API_LEVEL older than 420. These functions are used by haxe std until: https://github.com/HaxeFoundation/haxe/commit/3e4e6288f07c16828d1161c582b4dafedda88cac
- Dominant language
- C++
- Stars
- 330
- Forks
- 237
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 20
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from HaxeFoundation/hxcpp
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
HaxeFoundation/hxcpp#1217 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 18/100
HaxeFoundation/hxcpp#1470 · 4 comments ·
Maintainers usually reply within 1 day
-
bug
Difficulty 4/5 1-2 days Newbie friendliness 18/100
HaxeFoundation/hxcpp#1454 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
HaxeFoundation/hxcpp#1452 ·
Maintainers usually reply within 1 day
-
Review TLS fixOpen
Difficulty 4/5 3-5 days Newbie friendliness 25/100
HaxeFoundation/hxcpp#1446 ·
Maintainers usually reply within 1 day
All issues in HaxeFoundation/hxcpp
Similar issues
-
bug fixed form parser medium priority tokenizer
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
compatibility prio:normal
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
NatronGitHub/openfx-misc#320 ·
Maintainers usually reply within 1 day
-
[Windows] Hidden title bar: a maximized window restored from minimized on a secondary monitor gets the primary monitor's work area as its client areaPossibly taken @lijy91 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
libnativeapi/nativeapi#53 · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
agent-ready area:analysis bug
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
pauljohanneskraft/Acai#609 ·
Maintainers usually reply within 10 days