Skip to content

Evaluate a source-only void * callback mode #772

Description

@fdesbiens

Applications that choose pointer callbacks throughout a build may want to use the familiar tx_thread_create and tx_timer_create names. The additive APIs proposed in #771 provide this behavior per call; #413 documents why changing the existing signatures by default is disruptive.

I propose evaluating an optional source-level mode that maps those names to the new pointer APIs. It would use the same kernel implementation and ABI as the additive APIs, leave ULONG at 32 bits, and require matching callback signatures. I want the design to identify which existing callers, including component code that explicitly casts pointers to ULONG, would need edits or diagnostics.

I would leave delivery timing TBD. We should decide whether the naming convenience justifies a build-wide source contract after the additive APIs and a migration example are available.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or enhancement request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions