core: name codegen worker threads #433

Merged
sb10q merged 1 commits from named-worker-threads into master 2024-06-25 12:43:35 +08:00
Collaborator

Small change to name nac3core codegen worker threads.

Otherwise when a worker thread fails, the program simply outputs:

thread '<unnamed>' panicked at /home/lyken/nac3/nac3core/src/codegen/mod.rs:285:21:
explicit panic

This change now makes it output:

thread 'codegen-worker-module0' panicked at /home/lyken/nac3/nac3core/src/codegen/mod.rs:285:21:
explicit panic
Small change to name `nac3core` codegen worker threads. Otherwise when a worker thread fails, the program simply outputs: ``` thread '<unnamed>' panicked at /home/lyken/nac3/nac3core/src/codegen/mod.rs:285:21: explicit panic ``` This change now makes it output: ``` thread 'codegen-worker-module0' panicked at /home/lyken/nac3/nac3core/src/codegen/mod.rs:285:21: explicit panic ```
lyken added 1 commit 2024-06-25 12:25:57 +08:00
lyken force-pushed named-worker-threads from fb331c05b4 to 74096eb9f6 2024-06-25 12:36:53 +08:00 Compare
Author
Collaborator

Force-pushed to revise.

Force-pushed to revise.
sb10q merged commit 74096eb9f6 into master 2024-06-25 12:43:35 +08:00
sb10q deleted branch named-worker-threads 2024-06-25 12:43:35 +08:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/nac3#433
No description provided.