Skip to content

CREATE-PROCESS returns a raw pointer #11

@phoe

Description

@phoe

From README:

ASYNC-PROCESS> (create-process "python")
#.(SB-SYS:INT-SAP #X7FFFEC002830)

CREATE-PROCESS seems to return a raw pointer, which might not be a good idea type-wise. I have no way to differentiate between pointers created in another way (for example via CFFI allocation) and processes created by CREATE-PROCESS.

Have you considered using a struct or a class wrapper around the returned value so operators like TYPECASE and generic dispatch can work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions