graal native-image complains about tap-loop thread

Description

Not the greatest rationale: Graal native-image complains that the tap-loop thread starts during class-loading. It is possible to delay starting it until the first tap registers, which is exactly what the attached patch does.

Patch: clj-2385-3.patch

Screened by: Alex Miller

Environment

None

Activity

Show:
Alex Miller
October 1, 2018, 4:00 PM

Refresh patch to apply to master

Alex Miller
October 1, 2018, 4:01 PM

I think this approach has the problem of bottling up tapped values until a tap is started (which is not desired). Perhaps tap> should also force the tap loop thread?

Ghadi Shayban
October 2, 2018, 10:43 PM

added patch that delays tap-loop init until first interaction with tap system

Completed

Assignee

Unassigned

Reporter

Ghadi Shayban

Labels

None

Approval

Ok

Patch

Code

Fix versions

Affects versions

Priority

Minor
Configure